Beginners - August 2011 (Page 10)

error LNK2019
 
hey, i keep running into an error problem... What could be causing this? //bow.h #include <iostream> #include <string> using std::string; cl...
[4 replies] Last: Your code is supposed to look something along this: //bow.h #include ... (by coder777)
Major Appliances Cincinnati
 
Are you serious
[2 replies] Last: And Spam. You forgot to mention Spam I'm sure he mentions it when ... (by cnoeval)
Loop problem(noob)
 
I don't exactly know what I'm doing wrong here. Could someone take a look at this function I have written and explain why when my program arrives at the cout po...
[5 replies] Last: Way to go! Way to stay with it! You will do fine! (by kooth)
by Hexa
help in password
 
hi bros i write a code that get pass its not complete but my main problem is i want to set a code that dont get passwrod over 20 i mean if 21 entered or highe...
[2 replies] Last: no mate i dont mean getting 20 character i mean getting 20 i mean just... (by Hexa)
by Hunk
Public Struct
 
Hello i have a problem i have an extern class 00053 class RangeImageBorderExtractor : public Feature<PointWithRange,BorderDescription> 00054 { 00055 pub...
[8 replies] Last: I'm not really certain either sorry.. I'd recommend you ask at the poi... (by closed account DSLq5Di1)
going from console to SFML for the first time (in linux)
 
i am not really great at working with the terminal in linux, but anyways i downloaded SFML 1.6 for linux http://www.sfml-dev.org/tutorials/1.6/start-linux.php...
[19 replies] Last: Yes, unless you use makefiles. Although I see no point in using more t... (by Athar)
Typecast - Template swap
 
Hi, i do have a problem of understanding, but may be NOT I. I do refer to http://www.cplusplus.com/reference/algorithm/swap/ code snippet: template ...
[4 replies] Last: Oh yes, in deed: The references are confusing me. WERE ! Slowly I get... (by earlgrey)
by Elena
Can't understand casting
 
I have the following program: #include <iostream> using namespace std; class B{ public: int x; B(int i=10) { x=i;cout<<"constr B("<<i<<")"<<end...
[1 reply] : Well, that is because inside of your operator + you are constructing a... (by firedraco)
C++ programming in linux as compared to windows?
 
what are the differences in programming C++ in linux opposed to windows ??? i don't mean the actual syntax of the code , i rather mean peoples opinions, and exp...
[1 reply] : 1) By abstracting away platform-dependent things (example: creating a ... (by Athar)
timing with for loops
 
i just recently made a program that used a for loop to delay a second ( well actually close to a second as i could quickly come) , but the only problem was i ha...
[5 replies] Last: @vlad: its <windows.h> @metulburr: #include <windows.h> #include... (by chipp)
difference of where an object is declared?
 
what is the difference of an object being declared after the class definition(well actually within it) as compared to inside main? one program i had, had an...
[no replies]
by gemic
Pancake Glutton exercise
 
Im trying to do this exercise: Pancake Glutton Write a program that asks the user to enter the number of pancakes eaten for breakfast by 10 different peop...
[9 replies] Last: Pretty bad advice IMO Rambo... I think Writing his own code and strugg... (by vlad61)
Better way?
 
I was making a text based game a few posts ago, and is there a better way to do it then just use Thousands of if statements / switch thingies? and lots of whi...
[3 replies] Last: I believe I know one of the reasons why many beginners opt for text ba... (by sohguanh)
how to I get the data inside the for loop so that I could add it outside? Please rep ASAP :) Thanks!! (see code inside)
 
#include <iostream> #include <cmath> using namespace std; typedef string ActType ; int main () { ActType act; int numOfact; int ET; cout<<"Ent...
[13 replies] Last: Here: keep in mind that you cannot use loop counters for it. #inclu... (by happykiller)
How can I treat a number as an array?
 
Let's say I have int i = 153 And I want to get the 5 part. I want to be able to do something like i , is there a way to do this in C++? Also, would there ...
[3 replies] Last: nope you cant do that... but still char a ={"153"}; int i=a -48; //... (by rambo1177)
How to make a roguelike?
 
I was wondering, if there are any good tuts on how to make a basic roguelike in c++. Kinda like nethack, but more basic? No response after a while....I guess I'...
[no replies]
is this an example of good coding? need advice
 
Here is my code, I am new at coding and would like to know if there are better ways to do what i am currently doing. void play(){ cout<<"===============...
[2 replies] Last: The first thing to note is there is always a better way to do somethin... (by James Burnby)
Where can I learn C++?
 
I know this is a bit ridiculous to be posting on a website which has a tutorial on the subject, but at the moment I am only seeing tutorials which are for beggi...
[6 replies] Last: Carl, I'll be sure to check them out. Thank you! (by Ben Duncan)
Curly bracket problem
 
Hi everyone, I've just got a job as a computer teacher and need to teach C++. I did Fortran and Basic many years back. I am trying to do basic input/ou...
[13 replies] Last: Duoas, I wrote: "please allow me the indulgence." I did not abuse a... (by bkelly)
by wtf
Trying to test for catching of bad_alloc
 
int main() { while(1) { myint * mynum; try { if (!(mynum = new myint )) ...
[13 replies] Last: this is my entire code. #include <iostream> #include <exception> #i... (by wtf)
August 2011 Pages: 1... 89101112... 39
  Archived months: [jul2011] [sep2011]

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