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

data corruption in structs
 
I've got a struct outlined as such: struct PidStruct { string KeywordValues[NUM_OF_KEYWORD -...
[3 replies] Last: You are. There are 22-14 = 8 elements in KeywordValues. There is no 16... (by hamsterman)
Shared Object File
 
What is Shared Object File? When C++ compiles it creates an executable file right? Wha...
[1 reply] : I don't know much about the subject of compilers and such, so I'll jus... (by webJose)
by Drue
Deploy Iss
 
This is probably a really stupid question, but I'm using MageUI.exe (ClickOnce) to manually deploy o...
[2 replies] Last: Ok. Thanks. (by Drue)
by atcdva
homework help
 
We are trying to understand how to assign a name to a digit. We are taking a nummerical amount (floa...
[2 replies] Last: Does the 42 have to be words as well? Getting the front is easy. First... (by wolfgang)
by LB
std::exception(const char *const&, int) second parameter??
 
I am using VC++2008 Express and for std::exception's constructor, there is a second parameter of typ...
[2 replies] Last: So should I derive from std::exception and make my own exception class... (by LB)
What is wrong with this line?
 
After checking with console output lines, I have determined that the below line is crashing my progr...
[8 replies] Last: After further testing, It looks like a piece is added to the to check ... (by blueeyedlion)
sets
 
ghjkhjkhjk
[16 replies] Last: tnx for your help. (by gujinni)
How to compare two string arrays
 
Hello, I am writing a program in C++(using MFC for GUI) that takes in a string input from user. Af...
[13 replies] Last: Again, charlist is a two-dimentional array of CStrings. The syntax yo... (by kooth)
by alhanz
Removing a specific text from a textfile
 
Problem Solved Thanks!!
[7 replies] Last: Did you move the end of the loop like I mentioned? That may make all t... (by Galik)
by shank8
Word Scramble Help
 
I am attempting to create a program that scrambles words so that the first letter and last letter of...
[9 replies] Last: thank you for the tip and link Galik (by shank8)
TCP/IP Sockets
 
I was learning about sockets/internet programming and was wondering why getaddrinfo() returned a lin...
[1 reply] : There can be multiple IP addresses per hostname (by mackabee)
SDL linker problem
 
my headers are #include "SDL.h" #include "SDL_image.h" #include <string> and i am getti...
[1 reply] : You're not linking to the SDL library. I would see about excluding 'ms... (by Computergeek01)
Assistance Needed: 2D Path Finding
 
Since I want to learn how to develop AI, I'm starting now with basic 2D path finding. So far I have ...
[4 replies] Last: Hmmm... Perhaps it's me that's the issue. Thanks for looking anyway, C... (by closed account zb0S216C)
wstring null termination
 
Are wstrings null-terminated? The reason I ask is because for string/wstring.size(), it won't take t...
[6 replies] Last: wstring is a class and will give you all the facilities automatically.... (by writetonsharma)
need help with remove duplicate in a array using functions
 
I'm creating a array to output intergers in increasing order, i have a problem with when the result ...
[3 replies] Last: I changed it for you. 1. index start from 0, so it should be i < len... (by writetonsharma)
fabs not working...
 
hello again! Today I attempted to write a program using the fabs function but it said that fabs was ...
[2 replies] Last: thanks that really helped! (by GeckoLink)
TLS and object with constructor
 
Hello, I have several global variables which are objects of user defined classes. I need to instant...
[1 reply] : If you're working with Windows, you could check out this example: htt... (by webJose)
C++ packet sniffer
 
Hello guys. Soo... i have some knowledge about C++, i read (and understand) some networking, and i ...
[2 replies] Last: I think wireshark can be used for this. its opensource. http://www.w... (by writetonsharma)
[Linker error] undefined reference to `play(int)'
 
i am having a problem with my code. I keep getting: [Linker error] undefined reference to `play...
[2 replies] Last: play(aSecretNumber); You're trying to call a function called play t... (by Moschops)
logical error!
 
the compiler doesnt display error so i dont know if there's one...... here's the code:: int addsu...
[3 replies] Last: sup s1 ,s2 ,s ; - type missing (is sup a type?). Also, you can only u... (by writetonsharma)
July 2011 Pages: 1... 1920212223... 30
  Archived months: [jun2011] [aug2011]

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