Beginners - July 2014 (Page 19)

by gingy
How do you print extended ASCII chatacters from a file?
 
Before I explain my problem, here is a diagram of what I mean in case there's any confusion http://www.asciitable.com/index/extend.gif I have a file which re...
[2 replies] Last: So is there no way to display those to the command prompt then? (by gingy)
Basic Win32 Project (OpenGL).
 
Hi, I'm not sure if I should post this on windows programming or beginners but anyways: I have hit a little problem while compiling this code: /* Trim fat ...
[1 reply] : Change line 14 char string to LPCWSTR string and add 'L' before t... (by Yay295)
C++ Game Help !
 
Iam making a sudoku game , and it's very Easy one , it always checks a solved solution and compares it with the user input , and make the solved one filled with...
[1 reply] : I thnk you need to store the answer, and user input in 2D array, 1st D... (by LendraDwi)
Help with mastermind
 
ok so I am using this code below to figure out how to get the computer to guess a random 5 digit number and the player has to put in there own number and i got ...
[6 replies] Last: I have to make it like this Have your computer generate a random 5 d... (by adiktid)
Displaying Diagonal Lines
 
The trying to write a program that asks for the number of lines the user wants to output then the display should scroll down that many lines with line number s...
[1 reply] : Change line 16 and 17 to something like for(i=n;i>=1;i--) (by LendraDwi)
Overloading Operators in a Template Class
 
I am simply trying to overload + operator in the friend method. The program works as expected when I don't use a template and simply replace everything with dou...
[2 replies] Last: If you're friending the specialization for T, you could omit the T, it... (by Cubbi)
by vxk
Beginning template programming
 
This is my first program i tried to write in c++ template....I tried to convert a normal class into a template class by all the rules i knew already.I am alread...
[2 replies] Last: oh yeah i forgot using namspace std .... thanks!! (by vxk)
by KOD
Trying to have user determine the size of an array
 
I am having difficulties with determining the size of an array. I want the user to determine the size but I can't seem to get the code right. #include<...
[4 replies] Last: Vectors aren't difficult at all. In fact, you can use them almost iden... (by ResidentBiscuit)
by SirEgo
Remember what i chose.
 
English is not my native language so I have to apologize if it gets a bit tedious to read. The game is a simple text-based game and I was wondering how to wr...
[1 reply] : You're already storing what the use has chosen in that 'input' variabl... (by ResidentBiscuit)
never-ending do-while loop? (or something else?)
 
So I wrote this program and it's for a (fictious) company that offers multiple vacation packages and the user is supposed to choose one and answer questions to ...
[2 replies] Last: thank you for your help! (by LunaCaelum)
Multifile Project Help - Compile Errors
 
Hi everyone, I'm working on an assignment involving a multifile project, and I'm getting a number of compile errors I'm not sure how to fix. Basically, the assi...
[7 replies] Last: That fixed it! I now have a fully-functional program. Thanks for all y... (by Yomaster)
explanation of a code
 
Hi, I am learning about get() and getline() in c++. The book I was following had an example that I didn't quite understand. Here is the code: // numstr.cpp...
[6 replies] Last: Thanks again! (by jub4jive)
Help Please
 
Having a problem with my code, If I enter more than 1 customer with the same name the function only returns the most recent update. Am I missing anything? ...
[5 replies] Last: Line 36: There is no need for the if here. else is adequate since ... (by AbstractionAnon)
by Mimic
Array declaration and initialization
 
When I try to set an array in this way int num ; ... if (foobar == 1) num = { 0, 1, 2, 3 }; else num = { 4, 5, 6, 7 }; ... the compiler raises t...
[1 reply] : You can do it like that if you use std::array. int num ; std::arra... (by Peter87)
by watted
i need help !
 
hello people i new in c++,i have to program a (rock,scissors,paper)game i have 2 errors with cin " Error 1 error C2679: binary '>>' : no operator found which...
[3 replies] Last: Thank you guys ,you are awesome:))) (by watted)
by MPM
Reading a 3D-vector (vertex) from a STL-like binary file
 
I've got some code snippets and some binary files (STF-Format). The binary files contain much the same information as STL files: http://en.wikipedia.org/wiki/S...
[no replies]
Bucle while not working.
 
Hello, I tried to do a reverse counter (as if it is a bullet counter for a weapon), but I think that in the line 16 I coded something wrong and I can't get it...
[5 replies] Last: That worked, AbstractionAnon!! Thank you both AbstractionAnon & boora... (by TheTendo)
transactions and functions
 
I am so entirely confused. I have a really messy/basic outline but I'm not sure where to go from here. Any and all input is greatly appreciated! Sorry it's kind...
[2 replies] Last: You have a lot of repeated code. You should move repeated code to a s... (by AbstractionAnon)
by dgsm98
NIM Game Error
 
Hey guys, I'm fairly new to c++ and I've been creating a NIM game. So the user picks the starting total and the maximum subtracting value. To win this game, you...
[no replies]
Simple C++/VBA Dll Question
 
Hello Gods of Coding ! 2 questions : Can a C++ Dll being called from Excel VBA return final output to Excel but also produce a Text/CSV file which may co...
[5 replies] Last: Okay I got it to work..actually wasn't that complicated :D (by newbieme)
July 2014 Pages: 1... 1718192021... 43
  Archived months: [jun2014] [aug2014]

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