Beginners - October 2012 (Page 75)

Checking if a text file exists, and if it doesn't creating it
 
I'm making a simple text game where you kill enemies, level up, and get weapons. The levels of the e...
[7 replies] Last: > It gives me a error on code::blocks. The IDE is not the compiler. ... (by JLBorges)
how do you put the values in a while loop into an array
 
How do you put the values of variable a in this loop into an array? int a=2; while(a<100){ a=2*...
[1 reply] : Then I will suggest, using a for loop: #define MAX 100 int array ... (by Aceix)
C
 
Is object oriented programming is posible in C if yes then which compiler should I use if no then w...
[1 reply] : Is object oriented programming is posible in C Yes, but you have to m... (by kbw)
by rey9
letters in a string
 
i am trying to make a program that will count the consonants and vowels in a given string. Here's...
[3 replies] Last: thank you very much skarla for the help! :) (by rey9)
How do you set i<= array length
 
Hello, how do you stop the iteration when it has reached the array length? #include <iostream> #in...
[3 replies] Last: int array ={1,2,3,4,5,6,7}; const int length = sizeof(array)... (by Chervil)
by skarla
sfml
 
could anyone help me to set up sfml? I have skype and tv whoever wants.
[no replies]
Declare class variable to call advanced constructor
 
Is is possible to declare variable to be able call constructor (e.g. with parameter), of course para...
[5 replies] Last: Thanks, Dish. That what i exactly want. (by icegood)
Trying to make inputting q quit when inputting integers
 
So I am very new to coding, "hello world" was three weeks ago, but the professor gave us the assignm...
[5 replies] Last: Well, the code I showed above was not ideal. In fact the test for inpu... (by Chervil)
Is User Typing?
 
Hello! I'm trying to do chat app, but I'm having problem to find any function that will tell my p...
[5 replies] Last: Free access to typing tutor courses for 6 months for everyone! Just re... (by Vandalchik)
by serva0
Error in using a loop and some if statements!
 
So basically what i'm trying to do using C++ is make a program that plays Rock Paper Scissors(or our...
[1 reply] : try this the code is for nuclear bomb while (choice!='N' && choice... (by vichu8888)
by amir22
The Monthly payment calculation
 
I am not sure how to do this because I am very new to C++! I know some basic information, but it's n...
[1 reply] : I can give the skeleton of the program. include iostream,math //Inpu... (by vichu8888)
by i0wa
Open file using full path from file selection dialog
 
Hi! I am having trouble with opening file, which was selected from dialog (Win API). Here is my co...
[1 reply] : I'm confused about lines 57 to 59. Why are u changing the backslashes?... (by soranz)
reading a .txt file and storing in a struct
 
Hello! I'm trying to read a .txt file and store it's data in a structure so it shows the value if th...
[1 reply] : Looks fine to me. Are you accessing the .exe manually through the cmd ... (by soranz)
cant calculate floating point values
 
i'm beginner in c++ or any type of programming. i use code::blocks and turboc++ for compiling. But...
[1 reply] : Since both 'a' and 'b' are integers, the operation of a/b creates an i... (by soranz)
by blaa15
Reading lines from txt file
 
I am trying to read data from a .txt doc line by line with delimiters. we also have to populate a ve...
[12 replies] Last: OK, I'm going to have to look up a couple of things there, but if you ... (by newbieg)
Syntax Error : Identifier
 
Hey guys, I'm am still a semi beginner at C++ programming. I have this issue with an syntax error id...
[4 replies] Last: It is required for the DirectX stuff. The reason why I mention this i... (by pogrady)
C++ tutorials
 
Where could I find some C++ tutorials some videos would be useful Thanks =)
[1 reply] : CodingMadeEasy http://www.youtube.com/playlist?list=PL2DD6A625AD033D3... (by Ch1156)
binary search tree
 
i need an idea to write a program for binary search tree which can be used to implement dictionary,e...
[no replies]
by genzm
accessing classes from a diffrent file
 
Hy, I'm having a bit of trouble with classes in c++. I think I know how to define them, but here's ...
[2 replies] Last: Wow, this really did it :p Thanks for the tip. (by genzm)
by xzbit
getasynckeystate
 
hi, how can i toggle the same key to turn on and off if(GetAsyncKeyState(VK_F1)/*code here to t...
[4 replies] Last: The example I gave isn't complete. I just wanted to give you an idea..... (by Aceix)
October 2012 Pages: 1... 7374757677... 84
  Archived months: [sep2012] [nov2012]

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