General C++ Programming - September 2009 (Page 11)

breaking loops
 
It's been awhile since I've worked with loops and I'm lost. I have two events, based on user input, ...
[2 replies] Last: whats with all the tilda s? (by DrChill)
C++ to Windows application
 
Hi I’m fairly good at c++ and I’ve just wrote a little program in Dev c++ and it works fine ho...
[5 replies] Last: By the way cout<<"| 1 - To onvert into Minutes ... (by DrChill)
by genny
return an array from a function
 
I am new in C++ This is my code below: the result of my function lancerDe is an array TabDes. I w...
[8 replies] Last: Take a look at this also. http://cplusplus.com/reference/algorithm/ge... (by kempofighter)
Evaluate an expression?
 
Greetings! I'm working in an application wich must evaluate a mathematical expression, I have the...
[5 replies] Last: Well, Thank you all. I've already solved the problem of parsing the ma... (by iostream)
Want decimal output from function.
 
Why won't Mary Jones' gpa output as 3.6 instead of 3.0? any help would be much appreciated. thanks ...
[5 replies] Last: ok, i gotcha, i didn't know u could do it like that. (by compone87)
by wozroo
MySQL, mingw, and C++.
 
Hi all, I am trying to run Mingw 3.4.5 (vista special r3, this is the output I get when I type:...
[2 replies] Last: Ok so i got to see the code of the resetdb and other files. I trie... (by wozroo)
by icu812
random number within a range
 
I am trying to generate a random number between 3.0 and 3.5. The code below is returning results gr...
[7 replies] Last: float RandomFloat(float min, float max) { float r = (float)rand() ... (by Mythios)
getting the square root added
 
#include <iostream> #include <cmath> using namespace std; int cubeAndSquare( int, int *); int ma...
[10 replies] Last: mcleano, I think you typed that too fast. void squareroot(double &... (by mcleano)
Troubles with a stack
 
I am working on an operator overloading function for my stack to allow two stacks to be compared and...
[5 replies] Last: Obviously I don't have * and -> down solid yet. Anyhow it works great... (by switcher)
Enums and files
 
I have some enums, and I am saving and loading them to a plain text file. The only problem is, if...
[4 replies] Last: Currently, the only place I am converting them to/from ints is when I ... (by firedraco)
Same code with tags. Thanks
 
#include <iostream> #include <string> using namespace std; Struct studenttype{ string fi...
[6 replies] Last: http://gcc.gnu.org/ GCC stands for the GNU Compiler Collection or i... (by chrisname)
Could someone tell me if my code is right. It isn't long. Thanks
 
#include <iostream> #include <string> using namespace std; Struct studenttype{ string fir...
[5 replies] Last: lol. That got rid of all my errors. As you can see , i'm a newbie. th... (by compone87)
What does this struct really look like?
 
Because the XP machines in the enterprise only guarantee the existence of .Net 2.0, I took the task ...
[7 replies] Last: Thought I was the one who often posted rants... (by chrisname)
by coolKK
Strange behaviour of RWTime Class
 
I have one doubt about RogueWave's RWTime Class .... I am seeing some strange results when I am ...
[1 reply] : Please don't post in multiple forums. I've already answered this. (by kbw)
objects and methods
 
A couple of nice people tried to help me understand better how objects and methods work. I know now ...
[2 replies] Last: You can think of an object as the variables that go together to make t... (by kbw)
LNK2019: unresolved external symbol
 
what are the reasons that I can get this error? //error message 1>cLoginServer.obj : error LNK20...
[7 replies] Last: He has included tester.h in main.cpp anyway. If the compiler cannot f... (by guestgulkan)
How to avoid dynamic cast in C++?
 
This post is just to know is there any alternate way from using dynamic_cast. Is it supported in C+...
[7 replies] Last: Thanks Smith... You have a valid explaination for my question... ... (by SatishPindikoor)
[std::string] issue with special characters
 
Hello! I'm working on a program that must parse the natural language words from a file. Special c...
[4 replies] Last: Excuse me for the inappropiate language, but it f****ng worked. Yo... (by fernandoarrabal)
by hicks
having trouble with unions and intersections
 
I am doing some work over unions and intersections and I seem to be lost. Ill post the code our inst...
[5 replies] Last: Why did you change // node object for the linked list struct No... (by jsmith)
I am teaching C++ on skype (1,2)
 
Hi everyone! If anyone interested in learning C++ you can add me on skype. My skype id is alishujahx...
[37 replies] Last: I think it's saying "If someone is mean to you, and you ignore it, the... (by chrisname)
September 2009 Pages: 1... 91011121314
  Archived months: [aug2009] [oct2009]

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