General C++ Programming - February 2013 (Page 19)

need help in figuring out the error message
 
Hello Everyone i am trying to write a program for printing all the combinations of a string.I do not...
[1 reply] : If you erase stuff from the string, then the length of the string you ... (by Zhuge)
More Code Organisation with functions!
 
Ive been trying to get my code organized through various ways and I've found across various programs...
[5 replies] Last: Bahah! A great response TheIdeasMan, I like how youve lead me to the o... (by SuperStinger)
Prime numbers in a given range
 
I have an assignment where I have to use two for loops. I need to ask the user for any two numbers a...
[2 replies] Last: Simply for you to use. Actually you should try you own version, this i... (by zpzhi)
by Acko01
moving objects to shared memory
 
Hello, I am not so experianced with c++ myself, but I need to evaluate if a certain idea might wo...
[4 replies] Last: Thank you for the hint. I will look into this. (by Acko01)
by dahin
How can I count total integer and floating point numbers in a text file?
 
I have a text file like below read.txt: 1.0 2.0 3.0 4.0 2.0 3.0 4.0 6 5.0 7 1.0 5...
[3 replies] Last: int count = 0; char buff ; while(fgets(buff, 1024, fp)) { double V... (by Smac89)
by LB
Two different pure virtuals with same name
 
Is there any way to define C? struct A { virtual ~A(){} virtual void f() = 0; }; str...
[3 replies] Last: Ah, I knew there had to be some intermediate magic. I can still do c.... (by LB)
by LB
ID resrevation & generation
 
I have this helper class, but I'm wondering if there's some better way to do it. I tried looking thr...
[10 replies] Last: Oops, haha, I can't believe I missed that. Thanks! (by LB)
separate compilation problem
 
Hey guys, i have three different files 1 header and 2 cpp files i'm trying to compile but it keeps g...
[1 reply] : #ifndef Dias_ball.h #define Dias_ball.h The "." is out of place. U... (by cire)
by Elidor
GDB Debugger Resources
 
Does anyone know how to learn the GDB debugger? I'm currently using g++ and learning c using gcc and...
[1 reply] : > Does anyone know where I can learn the GDB debugger preferably from ... (by JLBorges)
Undeclared indentifier
 
Can someone explain to me why "Team" and "NUM_MEMBERS" are undeclared indentifiers? I'm not sure I u...
[3 replies] Last: Ok i got it guys, thanks a bunch! (by nocturne)
Code to Generate All Possible Combinations of a given Array Not Working
 
This is a program to generate possible combinations Somehow everytime I run it - in VS2012 I get...
[3 replies] Last: (1 +) is optional. without it it'll create 0 -23. with, then 1 - 24; ... (by TheZoomCat)
tictactoe
 
any time it becomes player 1's turn this terminates...why? main.cpp int main() { cout << "...
[2 replies] Last: That doesn't agree with the comment you have at line 47. // ALWAYS ... (by hunterb24)
What are memory leaks?
 
Please reference title. I've been hearing a lot about this but I'm just a beginner...
[5 replies] Last: Or you get a memory leak? (by greenleaf800073)
reading from txt file
 
i have an assignment that is supposed to take points from a txt file and plot them out i have this c...
[3 replies] Last: Make sure the file is in the project folder (by greenleaf800073)
by shakib
Having problem with inheritance and polymorphism
 
Hello guys, I have written a code which includes inheritance and polymorphism, the code is about fur...
[14 replies] Last: Thank you very kindly, it really helped. (by shakib)
Need Help Coding this - PICK 4 Game Search Engine - Can someone please help ?
 
A Very Good Morning to you, Hi and how do you do ? I hope your day is going great. I would ...
[3 replies] Last: Contents of File - 4d master preditions.txt 0000,0001,0012,0123,1234,... (by TheZoomCat)
by nrk619
clock countdown simulataion
 
please help urgent and provide some description...please #include <conio.h> #include <iost...
[1 reply] : First, use code tags. Second, use <ctime> to do timer. Nice though. (by greenleaf800073)
call of nonfunction in function main <>
 
i am getting call of nonfunction in function main <> error and 's' is assigned a value that is never...
[3 replies] Last: Of course there is an error there. //s =(1/2)*(a+b+c); //ERROR ... (by guestgulkan)
cin.getline error
 
well I have another problem #include <iostream> #include <cstdio> #include <cstdlib> #include <...
[6 replies] Last: I fixed it: cin.getline(person.address,256); cout << "Address: ... (by greenleaf800073)
February 2013 Pages: 1... 1718192021... 43
  Archived months: [jan2013] [mar2013]

This is an archived page. To post a new message, go to the current page.