General C++ Programming - July 2011 (Page 24)

by mogha
expat
 
Hi, I need information how to handle comments in xml using expat library. We have comment handle...
[1 reply] : They will automatically be skipped by the library. You can just overri... (by writetonsharma)
Deleting/Reading Text, and Coloring it.
 
Is it possible to delete or read text you have already written to the console? If so, how? Also, ...
[1 reply] : You can do both if you use platform specific functions. If you're on w... (by hamsterman)
by Phiru
FileFind.IsDot()??
 
I read reference of IsDot function. However, i didn't understand what it meant. Can anyone explai...
[3 replies] Last: Yes. (It's a directory either way though) There is an example given :... (by hamsterman)
Pass an array directly to a function?
 
Hello guys, I'm wondering, is it possible to pass an array to a function directly using C++0x? th...
[8 replies] Last: Thank you so much bud! I got it :) I'm grateful!! (by TheDestroyer)
X has a pointer to Y, and Y has an object of type X
 
This is a seemingly simple problem from C++ Primer Exercise 12.11 Exercise: Given C++ classes X an...
[13 replies] Last: Thanks to moorecm and Disch for your help. To warp up: If Y uses clas... (by JohnBrystone)
by shank8
Random Number Generation
 
I was wondering if anyone knows an easy way to generat random numbers, but in a sequence so that no ...
[7 replies] Last: It uses two arrays. random_shuffle only needs the array you give it. ... (by hamsterman)
Will someone look this code over?
 
I created this code to validate the sides of a triangle. Could someone give it a look over and tell...
[18 replies] Last: yeah... you were prompted to press any key twice because you wrote sys... (by hasan shehryar)
Convert Alphanumeric to Binary
 
Hello, I have a program where a user can input alphanumeric value(e.g. 6A000). Once value is entere...
[5 replies] Last: Yes hex numbers consist of 0-9 and A-F (also called base 16, 16 differ... (by binarybob350)
General question about inheritance
 
I'm building a program that has a number of different classes and am having a problem with accessing...
[14 replies] Last: [quote=Green Grass]Changing your name is a perfectly viable thing to d... (by ne555)
by utrbc
difference in CPU time for two similar lines, thanks
 
Hi all. There is a while loop in my program, where IterZNext, IterZ are pointers to nodes in a list....
[9 replies] Last: I don't know anything about the VTune Amplifier, but as there are no t... (by kev82)
by gizzmo
Seldon - duplicate symbol
 
Hi, I have troubles compiling the code I write. My code is spread across several header and sour...
[2 replies] Last: That is a library, available here http://seldon.sourceforge.net/ (by gizzmo)
How is it possible that this code is escaping from the loop????
 
Hi, I've been stuck on this problem for about 2 weeks and have refused to post my code until now, pl...
[6 replies] Last: It's not actually that complicated, but it's a C thing, that is becomi... (by kev82)
problem with char *
 
I have a problem with char, which is really bugging me. I have: char * newfile = fl_file_chooser(...
[3 replies] Last: Thanks a lot for your care. I'm using FLTK to design an interface, and... (by soheilghafurian)
TCP/IP Sockets?
 
Hey Im relatively new to c++ but I would be interested in learning about how to use tcp/ip sockets. ...
[2 replies] Last: You might be better off working with an existing networking library. ... (by diedrexler)
Need Help!
 
#include<stdio.h> int main() { char shape; int i=1,k,x,y; printf("Shape :"); ...
[4 replies] Last: thx for the reply and u help (by closed account 9wX36Up4)
by Teo
Segmentation fault for just declaring vectors?
 
Hi, In my main function I just tried to declare a vector and I received a segmentation fault in t...
[5 replies] Last: Thanks! Now it works. I made a terrible assignment mistake. (by Teo)
by holtaf
Another wtf!
 
I have this code : #include <math.h> int main( int argc, char* argv ) { cout << sin( 45.0...
[2 replies] Last: Aw snap! Thanks Xander314!! (by holtaf)
[Math Question] Projectile Calculation
 
http://www.gamedev.net/topic/605729-3d-bullet-prediction/
[1 reply] : Off the top of my head: Define: T be the target's current position (... (by kev82)
Billing program slight problem
 
there is a problem there in line 64 because the it wont add it will just appear total already it mu...
[4 replies] Last: Hm, yes the curly braces are misplaced. Back to the problem. It start... (by coder777)
outputdebugstring Dev-cpp
 
Hi Does outputdebugstring work with Dev-C++? I want to do something like char buf ; sprin...
[1 reply] : std::cout << "The value of variable num is " << num << std::endl; ... (by Moschops)
July 2011 Pages: 1... 2223242526... 30
  Archived months: [jun2011] [aug2011]

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