| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
|
by WaltP
Guidelines for Posting Requests for Help
version 3.1
GIDForums is pleased to provide these forums to help you understand programming techniques and correct programming problems. Following these guidelines will help you post good questions with enough information that we can understand your...
|
|
1 |
20,547 |
|
|
by arsymizz
Hello,
I have small knowledge on C. I was learning Programming in C , 3rd edition. I was excited to learn C++ that I skipped that book and jumped to Thinking in C++, 2nd edition.
After reading some chapter, i found that the book is quite old and also the content are in very confusing order.
I...
|
|
3 |
231 |
|
 |
by khushal1988
I want to convert Matlab code to C++ but I don't know how to do can u please help me I am attaching Matlab code and C++ that I am done so far
Matlab Code :
clear; clc
c = 1;
dx = 0.05;
gmc = 1/2;
dt = (2*gmc*dx)/c;
|
|
1 |
204 |
|
|
by Vibrations
Hello. I'm about to go to school and major in computer programming next month. I see that I am facing the option of choosing either C++ object oriented programming or java programming. Are there some advantages of one language over the other? Which one is optimal? Which one is more "future proof"?...
|
|
2 |
228 |
|
|
by 1stFallen
I am working on implementing quicksort...Right now I am working on the partition function. I put some debug statements in here to see if I can figure it out, but no go. here is my code, the problem is that it doesn't seem to fully partition the data
#include <iostream>
//#include <array>
using...
|
|
4 |
241 |
|
|
by 1stFallen
I hope this is not an inappropriate forum for this post...I am tinkering around with gdb and i have written a simple program called myprog.c in both fedora 13 running in vmware on a mac os 10.6. The program compiles and runs fine. If I run gdb with a command like
gdb -q
(gdb) set dis intel
At...
|
|
2 |
165 |
|
 |
by neewb
This program runs fine, but I need it to check for proper dates and leap year. All I can come up with is a regular expression to check for integers and dashes and that is it. I would like to add to the regular expression a date validation pattern, is there any way this can be implemented? Here is...
|
|
1 |
181 |
|
|
by 1stFallen
I need to know how to read in a string of input character by character until I hit a period. I want to use a map to store the chars as the map key and associate an integer frequency for the number of times each letter appears. The point of all this is for fun with heaps and huffman coding...The...
|
|
3 |
175 |
|
|
by Kash
I'm working on a homework problem. Using command line arguments and < > operators, we're supposed to provide the program with two file names, one includes some data, one which the program will use to output the results to.
The data file will include some comments which start with #, the a 5 digit...
|
20-Nov-2012 13:18
by Kash
|
9 |
300 |
|
|
by zaramhd
1. Write a program which inputs a date in the format dd/mm/yy and outputs it in the format month dd, year.
For example,
25/12/61 becomes: December 25, 1961
anyone can help plzzz ??
this is my program but its wrong :cry: help me plzz
|
|
3 |
246 |
|
|
by 1stFallen
When are situations where someone would want to pass a pointer pointer or reference pointer into a function?
for example:
void foo(Node ** node)
void bar(Node *& node)
|
19-Nov-2012 04:18
by DRK
|
1 |
163 |
|
|
by sous
This exercise addresses queues. In this example, we need to use an array to implement a circular queue, that is, wrapping the queue around when you reach the end of the array instead of shifting elements. Suppose the array represents a queue of print jobs for the lab printer. Each item in the queue...
|
|
4 |
254 |
|
|
by 1stFallen
I'm working on a balanced binary search tree. I chose to implement a red black tree. here is the code that I have so far...I'm kinda using the CLRS data structures and algorithms book That is really the only reference I have for my algorithms. I think that I can pretty much do the standard BST...
|
|
4 |
346 |
|
|
by ArtMusic
Hi!
I need advice about choice of tool for finding memory leaks. Before, I did not work on windows (Linux only). But now everyone is working in my office on windows :?
I would like to know what you are using, prefer and why?
Searching the forum, I found just the tools list. But I need practical...
|
|
3 |
265 |
|
|
by Kash
Hi,
I'm working on a school project which involves multiple inheritance. I'm having an issue with some of them. Here's an example of one of the issues:
class Truck : public Vehicle
{
...
}
class Van : public Truck
|
06-Nov-2012 17:19
by Kash
|
5 |
186 |
|
|
by just_smile
Hello everybody
I have question I tried to solve it many times but I coudn't get the right answer...please help me :oops:
the question is :
The brightness of a binary star varies as follows. At time t = 0 days its magnitude is 2.5, and it stays at this level until t = 0.9 days. Its magnitude is...
|
|
8 |
350 |
|
|
by projectIT13
I have a watermarked image and I need to extract the watermark that I embedded.
Can anyone give me tips on how to extract the watermark from the image. I'm lost on the extraction steps don't know where to start.
host image is jpeg
The watermark is binary (1s and 0s)
I have a text file which...
|
|
56 |
2,162 |
|
|
by frankys
#include <iostream>
#include <cstring>
using namespace std;
int main ()
{
bool x1;
bool x2;
int size1;
int size2;
size1=100;
|
|
1 |
221 |
|
 |
by SheikhAwie
I got an invalid function declaration error. Please help me. Scroll to the bottom and you'll see my comment on line 283. There's where the error is.
#include <cstdlib>
#include <iostream>
using namespace std;
void Last();
void Industry();
void DeForestation(float);
|
|
1 |
184 |
|
|
by 1stFallen
So now I am taking another data structures class, and we were studying linked lists. This problem involves a circular linked list in which each link kills off the link in front of it and then finally we are left with one link left which I guess can be described as the head. I wrote the class for a...
|
|
3 |
368 |
|
|
by aquariusmediaaa
Hi,
What is Polymorphism and how it is use in programming?
|
|
3 |
288 |