General C++ Programming (Page 2)

cv qualifier error
 
I'm getting the following error in my ADT bag code: In file included from VectorBag.h:36:0, ...
[4 replies] Last: oh, I get what you're saying about the items.size() business now, th... (by fizanimtiaz93)
Compiling Error: LNK 2019
 
/ // curl_util.h // quote #ifndef curl_util_h #define curl_util_h #include <memory> #in...
[1 reply] : setOpt() is a template function, so it has to be declared and defined ... (by helios)
for-loop question
 
Here is a for-loop for(unsigned long long j = 0; j <= 1000000; j++) { timeStep = j*timeDelta ...
[3 replies] Last: break takes you out of all of the loops (by lolnyancats)
Need some help with my operator overloading
 
Hello everyone, I have a hw assignment where I have to take a program I've already done, and over...
[2 replies] Last: operator name needs to be declared as a function and this needs to be... (by mattig89ch)
code to open webpage is forcing my apps timer to end ????
 
ShellExecute(NULL, "open", "http://youtube.com", NULL, NULL, SW_SHOWNORMAL); also tried Shell...
[no replies]
help
 
This code just terminated after this part can some please tell me why? void indhenta(double a ,...
[4 replies] Last: If you don't want to help, then why waste time replying? (by wildblue)
I'm having trouble moving a vector after I iterate through it
 
I have a project where I have a bunch of molecules moving around a box, I need the molecules to form...
[2 replies] Last: thanks, sorry am new didn't have time to read the rules ... p.s. I add... (by msmit247)
HELP how do i create multiple sine waves
 
#include <cstdlib> #include <iostream> #include <math.h> #include <cstdio> #include <stdio.h>...
[7 replies] Last: a rudimentary square wave You need to be careful with expressions l... (by Chervil)
Reaching End of File too early
 
I'm reading input from a file using an ifstream. The program doesn't seem to read any characters but...
[1 reply] : You must first open the ifstream object before trying to use eof();... (by Aceix)
Need serious help with classes!
 
I NEED TO KNOW HOW TO ACCESS EACH INDIVIDUAL SQUIRRELS ATTRIBUTES SUCH AS SKIP FACTOR AND LOCATION O...
[8 replies] Last: yeah i already saw and fixed it. I also repaired the .set_skip_factor ... (by treyrox)
Whenever i boot the program 'test.exe' it stops working
 
Does anyone have any suggestions? I have tried rebuilding then compiling and then running it again b...
[1 reply] : More info... Aceix. (by Aceix)
MergeSort using pointers [NOT SOLVED YET]
 
Goodmorning Everybody! Can I ask to help me with this code? It's just an exercise about the poin...
[8 replies] Last: Here is a link that should be helpful. This is an example of Merge So... (by KyiannaJones)
by Stom
How to change directory
 
How to change directory in c++ ( windows ) I want to go to the folder "example2" and I delete so...
[1 reply] : http://msdn.microsoft.com/en-us/library/windows/desktop/aa363806(v=vs.... (by NT3)
Segmentation fault
 
After running this piece of code I get a message from gdb saying that curr = curr -> next; causes ...
[4 replies] Last: Basically, this is the error thrown by ::operator new or ::operator... (by NT3)
by Chubby
Merge array.
 
i am stuck at int main . I dont how to create an array that will store in Queue and merge them. But...
[2 replies] Last: Here is a link that should be helpful. This is an example of how to m... (by KyiannaJones)
How to define a class
 
Hello all, The exercise is as follows; Define a class Arc , which draws a part of an ellipse. ...
[6 replies] Last: Classes are an expanded concept of data structures: like data structur... (by KyiannaJones)
junk return on passing an array
 
i passed an array from a function from a class and i am using the object of that class in other file...
[12 replies] Last: Codewalker's solution is good, if a little vague. Since you cannot ha... (by Disch)
2D array in Boolean function
 
i have a Boolean function containing 2D dynamic array, it'll retain either 0 or 1, how can i delete ...
[3 replies] Last: giblit, good catch :) I was just demonstrating how to delete all... (by Softrix)
time based entry
 
i want to do a time based entry like the user should be allowed to enter only in the given time say ...
[6 replies] Last: @praeneshiitm Is this for continuing your SFML based random picture pr... (by fun2code)
private data member is accessed and no error
 
Here in below code, the private data member is accessed directly using dot operator IN COPY CONSTRUC...
[1 reply] : The copy constructor is a member of the class. Therefore, it has acces... (by booradley60)
Pages: 1234... 70
  Archived months: [feb2014]

Cannot post in this page. To post a new message, go to the first page.