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

Unsigned Int?
 
Hi, I am writing a program that calculates the probability of picking a set of numbers from a large...
[2 replies] Last: Thanks that worked great (by WonderPanda)
Sort one array based on values of another array
 
Hi friends, I am trying to sort the values in one array based on the sorting sequence of another ar...
[5 replies] Last: Thanks m4ster r0shi, Exactly what I was looking for! (by speedster123)
Employee database: debug assertion failed
 
When I run the program, i get debug assertion failed. What part of the program is wrong? #incl...
[3 replies] Last: char search ; int number = 0, length = strlen(search); Here, you're ... (by shacktar)
How much support C++ has in comparision to C#?
 
How much support of .net C++ has in comparision to C#? why C++ is not called C++.net while C# is ca...
[4 replies] Last: I can confirm what Grey Wolf says. I am a C++ programmer and we trans... (by mcrist)
by teocl5
Converting string with negative values to double/ float
 
Hi, Anyone know how to convert a string with probably negative values into double/ float? I ha...
[1 reply] : [quote=teocl5]What is the simplest way? I'd say, something like this:... (by m4ster r0shi)
Random number generation
 
Hello I need to write a program that will generate random numbers, but the random numbers will be in...
[1 reply] : When you post a question, not only describe the task, but also the pro... (by hamsterman)
by teocl5
Extract substring from a line of text in text file
 
Hi there, Anyone out there know the solution to this problem? [in my .txt file] [Expense/inco...
[2 replies] Last: Hi hamsterman, thanks for the help. I have somehow managed to get the... (by teocl5)
can we run c++ with out showing a window?
 
hello guys there is a black screen popup when i run my c++ application i dont need that. is there...
[1 reply] : I hope these help. They look helpful: http://www.irrlicht3d.org/wiki/i... (by HenriK)
by screw
problem with mingw 4.5.2 and prebuilt boost 1.46.1 libs
 
Hi Everybody! I would like to use mingw 4.5.2 with prebuilt boost 1.46.1 libs. I didn't want to c...
[1 reply] : Could it be that you are running your code from eclipse ? We noticed t... (by yakirari)
by Thyde
Functions for roomchanges in a text based game
 
Edit: oops, didn't see the beginners forum. feel free to move it :) I've not been programming wit...
[12 replies] Last: I didn't think about that, I've been trying to find the right place to... (by Thyde)
Array Indexing Problems
 
Purpose of Program: To encrypt the user's string input by an increment of 1 character. Ex: if the u...
[1 reply] : for(int y = 0; y < keylen; y++){ if(proto == key ){ proto = ke... (by hamsterman)
csv Inventory file I/O
 
Hello, I am an avid reader of this forum, and I know that it is frowned upon to ask for help whe...
[1 reply] : input.read(reinterpret_cast<char*> (&ProductInfo), sizeof(Product))... (by shacktar)
One Class Accessing Data of Another
 
I have two classes, Player and Wall, that each of a SDL_Rect data member. I need to access the SDL_R...
[3 replies] Last: It actually wasn't resolved with such a simple solution. I had to do s... (by MottMan)
simple va_args question
 
Hi, Am I missing something, or did va_args really not come with any end identifier or count informa...
[7 replies] Last: Ah, yes, that is a C++11 feature, I think, to be able to use literal i... (by Duthomhas)
Object Serialization C++
 
Hi there! I'm trying to serialize some of my objects, but when they're pointers I don't know how ...
[1 reply] : I've made a simple example, it loads/saves one person and an array of ... (by Turbine)
Projectile OpenGL
 
I am working on a project for school and am stuck. I need to update a loop using vectors to make a c...
[2 replies] Last: Thank you. I thought I had it a couple times it wasn't the way that it... (by stretch)
by Skid
Parse Last.fm Inbox
 
Hi, i've started to write a program that download messages of last.fm inbox, but i got a problem ...
[no replies]
by jpotts
While statement trouble
 
Hi, I want to make it so that if the user enter in an option that isnt provided, then it will loop ...
[2 replies] Last: Ok, i see what i was doing wrong. Thankyou! (by jpotts)
Keep getting errors using the switch option
 
Hey everybody! I'm trying to create this program for a school project, but I keep getting errors ...
[3 replies] Last: Breadman - Thanks for the quick reply! I did what you said and it work... (by Incursion172)
Writing Data input by user to test file.
 
Hi, Im writing a function to store data inputted by a user. I have to press enter twice after first ...
[4 replies] Last: So, the customer ID problem was solved as well? (by shacktar)
July 2011 Pages: 1... 56789... 30
  Archived months: [jun2011] [aug2011]

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