Beginners - September 2012 (Page 50)

by khal
Expections question
 
main.cpp #include <iostream> #include "test.h" using namespace std; int main() { return 0; } Expections.h #include<string> using namesp...
[7 replies] Last: Yes the IDE becomes unresponsive. Its strange that the code in my text... (by khal)
by nistor
did i get this straight?
 
I'm goin to write after // what the fuction does in my opionion..please correct me and my apologies for bad english. struct node { int val; node* next; ...
[2 replies] Last: Thank you for the insight. Anyone else about what's out there? Thank ... (by nistor)
stack
 
my code is running perfectly but just one line is not executing ..dont know why..i have highlighted it.! #include<stdio.h> #include<conio.h> void push...
[11 replies] Last: I rarely use C but scanf("\n%c",&z); appears to work when I test it. ... (by Cubbi)
java game programming offer
 
hi all!!..I am stuck at a problem. I have got an internship offer to teach at a school java game programming. Now the problem is, I just know C/C++ and know ...
[7 replies] Last: hmm..thnx guys.. (by vgoel38)
HOW TO CHANGE THE FONT SIZE OF MY CONSOLE APPLICATION IN C++
 
Please any one help me on how to change the font size of my console application thanks in advance
[1 reply] : setconsoletextattribute http://msdn.microsoft.com/en-us/library/ms686... (by soranz)
by ah4444
game programming or cs course and book recommendations
 
hi i'm new to programming and have only nearly finished beginning c++ through game programming. im currently learning about classes and have been searching th...
[6 replies] Last: thanks moschops. i have heard that game progrmming courses arent as tr... (by ah4444)
by salam
problem with sort numbers increasing order
 
sometime it sort correctly and sometimes dont, i do not know what is wrong with my codes pls help. thnks #include<iostream> using namespace std; #i...
[no replies]
by batmaz
Numerically Sorting Values (Shell Sort)
 
Hi, I'm having troubles with my sorting algorithm that I got from mathbits.com. It does the job very well, however almost too well. This is a sample of what I i...
[3 replies] Last: Thought so - in that case you'll need natural sorting - perhaps one of... (by closed account o3hC5Di1)
by SGM3
File I/O
 
I would like to import a text file with weapon data for an RPG. I was thinking I could read the file in the class constructor. It works but I am not sure how...
[1 reply] : Hi there, You may want to consider just storing objects of the weapon... (by closed account o3hC5Di1)
by twicey
not executing my if else loop
 
this the supposed output for this program that i'm working on Welcome to One World Ticket Reservation System How many ticket(s) would you like to reserve? : ...
[4 replies] Last: Great!! that last prob made me feel a bit stupid. :/ Nonetheless i'm... (by twicey)
C++ .txt file into an array
 
I'm new to the forums and hopefully someone can help me out. not just give me the answer. i have to write a program that wants me to put information from the t...
[5 replies] Last: Hi there, No worries, we're here to help :) The error is here: [cod... (by closed account o3hC5Di1)
Search in a file
 
Task is to search for a certain texts in a file in c++ I need to create a file and put some text inside it and then later on search for a particular word and...
[2 replies] Last: Thanks a lot mate...... I have got it. (by hasanfaraz)
Code not working - help
 
The "assigns" in the following code is not working. I don't know if assigns is what i should be using. I need to retrieve characters from line1. The variables: ...
[1 reply] : Hi there, Try rewriting those assign lines as the following: num1 =... (by closed account o3hC5Di1)
by mike99
Multiple 2D arrays using oop
 
Hi, I am new to object oriented programming. As a part of my work I need to generate 100 points(x,y) making a line. I need ten such lines. I tried to ...
[2 replies] Last: for (int k=1;k<=Lno;k++) { L .line1(k); }... (by HiteshVaghani1)
recursive function: convert int to string
 
I need to create a recursive function that converts a int to a string. The base case would be: input is from 0 to 9 and return the value as a string. How ...
[6 replies] Last: If you need to use class std:string instead of a character array then ... (by vlad from moscow)
What is "++ and +=" ?
 
Hello I am a brand new programmer just starting to learn C++. Iv been following a book but iv hit a bit of a snag. The book gave me this example code for a loop...
[2 replies] Last: Thanks that really helps me out. (by Wanabe Programmer)
Infinite Loop Problem
 
I'm an idiot. >_> I'm just getting rusty now.
[no replies]
Daily c++ problems (1,2,3,4,5)
 
I've always seen a lot of forum users asking for daily problems to help improve their coding skills and refreshing memory. This post will include one problem a ...
[83 replies] Last: Updated (by Need4Sleep)
by Sythen
Why isn't this working?
 
MainGame.cpp #include <iostream> #include "functions.h" using namespace std; int main() { int attack; Leviathan(attack); cout << "Attack: " <<attack << end...
[2 replies] Last: Thank you so much!! Works perfect now!! (by Sythen)
Function Error Message
 
This is a homework assignment - please do not give me code. I wrote this program: #include <iostream> using namespace std; int main() { string fileNam...
[3 replies] Last: Thank you. (by badkaykay)
September 2012 Pages: 1... 4849505152... 62
  Archived months: [aug2012] [oct2012]

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