General C++ Programming (Page 39)

how to cin in c++ without pressing enter key.
suppose i want to get values from user during run-time which are 1 and 2 and put it in variables a a...
[4 replies] Last: Could you just: std::istream::getline(string, 1024, ' '); ?... (by ResidentBiscuit)
301 Moved premanently
Im trying to make a console program that tries to login to this site. Im not using any libraries, th...
[1 reply] : For more info, try the code out yourself No. It's your job to descri... (by ResidentBiscuit)
What are special numbers ?
hello everyone pls tell me what are special numbers ? if possible pls send the souce code on that ....
[4 replies] Last: [quote=cnoeval]It's not nice to consider ANY number as special in thes... (by Peter87)
Sort by date
Hi all, I'm trying to sort by age a vector of birthday dates. I'm using the functions in the <ctime...
[1 reply] : Well, I didn't try to debug your entire code. I do think there are err... (by Chervil)
pointer arithmetics debugging
I have a code #include <iostream> using namespace std; int main(){ char * * stringg...
[14 replies] Last: Well I did try to read as much as I could from GotW link the Heap VS F... (by danicpp)
by Nison
I don't know what to do..
You can skip the tale from "{" to "}" if you want but i think it will give you a better understandin...
[18 replies] Last: guteyuro If i may ask. What was your issue? There was no issue. "g... (by MikeyBoy)
<SOLVED> Unsigned char array - assigning values converted from double
Hi, I'm having a pretty weird problem. I've created an unsigned char array for an image buffer: ...
[1 reply] : Solved. If anyone is interested, it was a simple matter of std::ofstre... (by tsvilans)
Help on switch
Here is my current program if you use i...
[1 reply] : Create a function for. Area of square say int areaOfSqaure ( ) { //co... (by N495t4r)
I/O Issues
I have a sort of game I have created that takes input from the terminal window and uses it to manipu...
[3 replies] Last: @NT3 I wanted to use the terminal because I thought that graphics woul... (by Pi Lord)
Need help with Looping file.
So I want to loop a file so that the user can log in. For example i got this .txt file: asd fgh ...
[2 replies] Last: I'm not too sure how to do it, this is my current program. Its a Sign ... (by wakamoe)
by ahlee
Altering code in Photoshop
I was wondering if its possible to change the color of the anchor point in the transform tool. Is...
[1 reply] : It's code that applies projective transformations to vectors, presumab... (by helios)
Autocreate function (with monsters!)
Hi guys, I need help solving a problem in my game. I have around 10 different objects in my game (d...
[3 replies] Last: Thanks for responding. (by programmer321)
cannot appear in a constant-expression (list)
Hi. Why do I get the error 'rec' cannot appear in a constant-expression ? I have the following...
[17 replies] Last: If it is defined inside of a function is it scoped to that function as... (by giblit)
QR code compilation
I am trying to make a qr code from this sample code from
[5 replies] Last: You would do the same thing to fix that as you did you fix the encode_... (by giblit)
Game inventory
Hi =). I was wondering if anybody could point out some smarter techniques for creating a simple RPG ...
[6 replies] Last: If you want to get into graphical games, I recommend you just ditch w... (by Disch)
Banking Program
Trying to design a banking program. So, the program starts by having the user enter his/her initial ...
[4 replies] Last: Thank you! (by jesslich)
by Usha
Conditional debugging
I am using MSVC 2010 express edition. I am trying out conditional compilation program. I have the fo...
[3 replies] Last: But still it was giving error. What error? In functions.cpp, whe... (by AbstractionAnon)
Why is my basic battle system failing? [no compile errors]
Here's the source code from "battle.h" (which should probably be renamed to "animal.h") Do you thin...
[8 replies] Last: Since other people gave you a lot of good advices. I will give you thi... (by Ceset)
by iebwen
how to find repeated words
I'm currently on an exercise that specifies that I find any repeated words, "the the" for example, i...
[7 replies] Last: I had a project that parsed and wrote pickit files for a bot... and fo... (by roger911)
Arrays and smart pointers
I'm writing quite a large program that needs to work with very large arrays (up to 100 million integ...
[6 replies] Last: As per your requirements you really ought to consider using a std::deq... (by Duoas)
Pages: 1... 373839404142
  Archived months: [jul2014]

Cannot post in this page. To post a new message, go to the first page.