Beginners - August 2010 (Page 24)

The need to press enter...
 
Is there a way, when making a game for example in the console, that you don't have to put enter ever...
[15 replies] Last: Haha, that's what I get for not refreshing first! :-P Besides, no harm... (by x loto)
how to convert str to arr[]?
 
string str="1B 42 E8 1B 43 40 0B 10 00 90 01 B4 00 2C 01 00 00 78 01 01"; array unsinged a ; an...
[18 replies] Last: thank you Galik ,your code is very usefull to me.is more simple than m... (by peripheral)
Unresolved token and external symbol with ctor and dtor
 
I've been trying to get rid of these linking errors for a few days now and the only thing that does ...
[13 replies] Last: I checked my code.. the name mismatching was just a mistake in post... (by SgtPooki)
by Wander
More Dang Deque Problems
 
I'm new to using deques and other advanced containers like vectors and such. I don't see anything wr...
[4 replies] Last: okay. i did. then i ran it again without debugger and it crashed again... (by Wander)
by Async
what's the difference
 
what's the difference between the two global declarations: static int i; int i;
[3 replies] Last: thank u ^_^ (by Async)
Weird, weird glitch in compiler
 
Ok so I spent about an hour with trying to figure out what the hell was going wrong. BTW I am not as...
[4 replies] Last: Yeah that is strange, it really messed me up because it only crashed f... (by AdventWolf)
How to read a certain line of a txt file?
 
Let's say I have a text file that consists of 10 lines. Line one reads "One", line two reads "Two" ...
[5 replies] Last: for (int lineno = 0; getline (myfile,line) && lineno < 7; linen... (by outcome)
function pointers
 
Hi, I already know how to create functions that return pointers to functions that have already be...
[6 replies] Last: Isn't that the same as float functionA (float a, float b, float... (by guestgulkan)
Reading a Tab-Delimited Spreadsheet File
 
Say that I wanted to read the numbers off a tab-delimited spreadsheet file, such as from SomeFile.tx...
[8 replies] Last: stringstream could also be useful here: #include <iostream> #incl... (by m4ster r0shi)
Why is ifstream.getline() cutting short?
 
I have a program: #include <iostream> #include <fstream> using namespace std; void main(){ ...
[3 replies] Last: Also check this out: #include <iostream> #include <string> using... (by m4ster r0shi)
cant get overloading of functions to work
 
we had to do a project as described: Using the example functions about, write a calculator progra...
[no replies]
Upper Case to Lower Case
 
Hello guys, i am a beginner at programing, and I found this site really helpful as it has c++ tutori...
[5 replies] Last: Your loop goes too far and you didn't assign the modified letter back ... (by Galik)
Can you create a random decimal number between two other numbers?
 
I'm working on a program and I was trying to figure out how to create a random fraction number betwe...
[6 replies] Last: Thanks for the help guys, I was able to do just what I needed. I'll ce... (by AdventWolf)
string problem
 
#include <iostream.h> int main(){ char first ="1234567890"; char second ="0000000000"; for...
[8 replies] Last: follow you. thx all. (by horace5563333)
by yawa66
simple project..
 
ei i have a project but i dont know wat to do.. could sum1 help me in my project.. my teacher ask ...
[11 replies] Last: Last time I checked these forums were to pose questions for awnsers th... (by kaduuk)
by lssam
sorting problem with swap
 
hi l am trying to sort an array that will be read . l use swap function but it only swaps it once ...
[18 replies] Last: instead it should be j<x because j < x+1 will mean j < 6 and theref... (by lssam)
C++ & DDE
 
Hi all, I am working with a platform that provides info on the financial market. (MetaTrader 4). ...
[8 replies] Last: thx for your all your answer kbw. (by wboustany)
****.exe has encountered a problem...
 
i'm new at c++. i don't know what to do with my program. it keeps on having this problem "exerdraft....
[2 replies] Last: thanks! (by silvertooth07)
by wasabi
custom constant definition?
 
If one wishes to declare a constant float, you can't simply use 1.5 since that will be computed as...
[1 reply] : Not now but on the next standards: http://en.wikipedia.org/wiki/C%2B%2... (by Bazzy)
by Midget
Connect four type Grid
 
Hello, I've recently started learning C++ and am now trying to build a grid for a connect four gam...
[1 reply] : You can, but you need to store it in a char eg: char ( 123 ) // ... (by Bazzy)
August 2010 Pages: 1... 2223242526... 28
  Archived months: [jul2010] [sep2010]

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