Beginners - September 2012 (Page 27)

Why Is This Expression Resulting In an Integer?
 
I have this expression, which attempts to remove a set flag: Flags &= (~FLAG_LOCKED); Where " F...
[5 replies] Last: Never mind, lads. I ended up implementing a structure which holds stat... (by closed account zb0S216C)
3rd Programming Assignment
 
I just started learning c++ 2 weeks ago, and it is my first programming language. I'm taking an intr...
[6 replies] Last: I can't mess around with that program at the moment, but I will in the... (by ProductFailure)
Identity Matrix error
 
Hi, I am building an identity matrix as part of a matrix multiplication program. I made the code ...
[4 replies] Last: @nshogaboom Why is "row" being converted to the pointer? Becaus... (by vlad from moscow)
Basic Console Tic Tac Toe game
 
So I started learning C++ a few years ago and got a little bit past console programming but then I s...
[4 replies] Last: Ok thanks for the help. Is there anything you guys recommend for going... (by jsladerman)
can anyone tell me why my program wont compile?
 
I keep getting this error calculate.cpp: In function `int main()': calculate.cpp:33: call of overl...
[2 replies] Last: Try casting to one of those three types like the compiler suggests. ... (by kevinkjt2000)
get 2 dimensional array from a function to the main
 
I have 2 dimensional array in a function and I want to get it in my main function like this way ...
[5 replies] Last: I hope this example lets you see how a function can pass back to main.... (by kevinkjt2000)
\n
 
this code works only if there is \n before %c in scanf statement. please explain me why? #inclu...
[2 replies] Last: Then there is specification %c then white spaces are not skipped. So w... (by vlad from moscow)
Text Based Game Help - Total Beginner here
 
Yes, this is help with a school assignment. It's an intro to C++ class so I'm a total beginner here....
[7 replies] Last: Okay! So now I'm having an issue of "The variable 'fRand_number' is be... (by LadyDustBunny)
Compare Input Data to File Data
 
I'm making a trivial pursuit type game. There's 5 questions, and each question you're able to answer...
[2 replies] Last: You're going to first have to learn how to read in data files! http:/... (by biddlesby)
Priority queue of struct
 
Hello, I have the following struct: typedef struct { string state; string parent; strin...
[2 replies] Last: There is a priority queue available in stl http://www.cplusplus.com/r... (by mik2718)
by Serri
For loop
 
i'm trying to write a program that will do this: If we list all the natural numbers below 10 that...
[8 replies] Last: > only one of them should be added each time 3*x or 5*x becomes the sa... (by JLBorges)
stucture small problem
 
#include <iostream> #include <cstring> #include <string> using namespace std; int ReverseString(...
[11 replies] Last: Try writing these two functions first. // given a string, make a sin... (by JLBorges)
by kabuki
Need help with if else statement
 
What I'm trying to achieve is to not allow the denominator to be 0. So I am trying to make the denom...
[2 replies] Last: Thanks a bunch. That fixed my problem. I'm only using printf and scanf... (by kabuki)
Complex Number C++
 
Can anyone help me? I got a task from my lecturer to make a program about "complex number" with 4...
[14 replies] Last: @chipp Yeah, didn't see that one @Zumphex Never mind always R... (by Aceix)
by Fliize
Asking for pointer explanation (in a linked list)
 
Im trying to understand pointers & linked lists, so far so good, but there is one thing i cant get m...
[2 replies] Last: Im starting to think that my tutorial aint that good.. http://www.func... (by Fliize)
SDL & Qt
 
Hi, Could someone tell me what SDL and Qt are, please? I have installed C4Droid on Android my mob...
[2 replies] Last: Thanks Peter, for both your advice and the quick response. :) (by Officer Dibble)
newbie trouble with if/else statements
 
Hi guys, first time post. Im working on what i figured an easy program to calculate the price of ja...
[5 replies] Last: i think, it's because fixed (by chipp)
by zkl
Module Practice
 
Hi, Im doing some practice on Class. So im doing this one example but I cant get the out put I wante...
[6 replies] Last: Yeah, that's right, so a return; at the end of a void funtion is use... (by Fransje)
by khal
Loading File
 
Hi, I was wondering if someone could explain to me how to run a program in terminal with this format...
[9 replies] Last: I actually checked before and the result is correct that argv hold, ... (by cire)
by ibnu
write the data to text file
 
how to write and save the data to the text file?
[5 replies] Last: i will try it later.....tq......:) (by ibnu)
September 2012 Pages: 1... 2526272829... 62
  Archived months: [aug2012] [oct2012]

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