Beginners - November 2011 (Page 24)

mixing c or c++ with assembly
 
What general functionality is lost when going into asm? beyond the saying that key c++ syntax becomes replaced with at least 6 lines of assembly commands? ...
[no replies]
URGENT NEED THE ANSWER ASAP (1,2)
 
I know the tenth point to be where y = sin(pi) is what i have below: 0 * pi 0.1 * pi 0.2 * pi 0.3 * pi 0.4 * pi 0.5 * pi 0.6 * pi 0.7 * pi 0.8 * pi 0....
[22 replies] Last: ok thanks i understand (by beginner123)
by moot1
Games
 
I've seen games made in c++ and I was just wonder like say I want to make a game with a rabbit as a character. I don't see how you could make code that makes a ...
[5 replies] Last: ok i know im much lower level i was just wondering (by moot1)
Problem with custom functions
 
I'm working on a little text-based warrior game and tried to run it to test out the functions, and I'm getting a few errors that I don't understand, can someone...
[1 reply] : everything is indented as it should be, I guess the forum ignored the ... (by FutureNuke824)
Simple problem with n points on a plane
 
Hello all! I am very new to programming in C++ and I have to solve a question that asks the user to give the coordinates of n points in a plane and then output...
[1 reply] : Use counters. Something like if(the condition you know){ first++; } e... (by eypros)
by Jarr10
Program help
 
What is wrong with this program code? I need help. using namespace std; int main () { string g; int count; cout << "Enter a num\n"; cin >> g; count ...
[3 replies] Last: Please only ask once. http://cplusplus.com/forum/beginner/55536/ (by Moschops)
c++ basic help,confused!
 
This is part of my homework and im so confused. inputAmount and IsValidAmount are 2 other value returning functions. I have to initialize amount and is valid to...
[6 replies] Last: If you need to update them you can just use those same lines again. (by ascii)
Can't understand some syntax...
 
In the : class polynomial{ public: int coeff; int expo; class polynomial *next; //Declaring the functions within the class polynomial input()...
[5 replies] Last: Yes of course,thanks guys,marked this as solved ! (by hentaiw)
expected a declaration error with loop?
 
................
[1 reply] : OP: float getAmount() float amount; bool isValid; float amount = i... (by Moschops)
score array
 
I have to write a modular program that accepts at least 10 integer test scores from the user and stores them in an array. Then main should display how many perf...
[7 replies] Last: okay, thank you for your help (by kdmpenguin)
Why doesn't this C-String work in a loop?
 
For my c++ Programming class, I have to write a program that will read a student's name and then read 10 grades from them and then display the student name, alo...
[no replies]
[Help] When come to converting string to ASCII code
 
I know the method of how to convert an array of string to ASCII code but it does not read the rest of the words after spaces between the string. For example i e...
[4 replies] Last: parity-wise, I don't know what you need to init x to. But if you don'... (by andywestken)
Why i cant cout the largest integers?Urgent!!!!
 
//test 2 #include <iostream> using namespace std; int largest ( int a, int b, int c) { if(a>b && a>c ) return a; else if(b>a && b>c ) re...
[5 replies] Last: The way you were looping it was making you input 3 values for each var... (by Dstrayex)
by Lepax
C++ project euler #4?
 
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 99. Find the largest palindrome...
[3 replies] Last: Thanks! that code looks great, I just don't understand how the bool ch... (by Lepax)
Question about "random"
 
So I have these character functions: char a0 = '-', a1 = '-', a2 = '-', a3 = '-', a4 = '-', a5 = '-', a6 = '-', a7 = '-', a8 = '-', a9 = '-'; char b0 = '-'...
[8 replies] Last: For your error message, look at what is ahead of srand. It means that... (by Stewbond)
by moot1
Game
 
Every one post their favorite game they made in c++. Post the actual link to the game
[5 replies] Last: I want you to give me a link to the actual game so I can play it (by moot1)
Animation using GDI
 
Hi. I'm trying to animate a number of squares (number is defined by a constant) using GDI features. So i created a class Square : #pragma once #include ...
[1 reply] : Shouldn't your Square::DrawSquare routine be using the coords the Squa... (by andywestken)
cout not working?
 
hey i have a small problem in my program that i cant figure out. the compiler dose not seem to give any errors whatsoever about it. here is the code of t...
[2 replies] Last: worked thanks. i thought that j++ and j+1 would mean the same thing be... (by Pip3mAn)
Sorting alphabetically the lines in a text file
 
Hello everybody! Can anyone help me with this thing : I want to know how I can sort alphabetically the lines in a text file, by that I mean what method can I u...
[2 replies] Last: I would learn about the STL (standard template library). In the examp... (by binarybob350)
trouble with delimiters
 
Hi all, I have a flat file storing data like this, Testing,[1,2,3] What I'm trying to do is to retrieve the data "1", "2" and "3". So far I manage r...
[5 replies] Last: Thanks stewbond, however in my flat file, it contains several data. ... (by vinzping)
November 2011 Pages: 1... 2223242526... 65
  Archived months: [oct2011] [dec2011]

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