Beginners - March 2010 (Page 3)

Multiple files
 
Hey! I'm using Code::Blocks to write a program in C++. I wonder how I can split my code in different files. What blocks of code can I have in seperate fil...
[2 replies] Last: Thanks a ton for ur quick reply! That will get me started :)! (by TunaPete)
by jamjo
Read information from Ply
 
Hello, My name is ashi. i am a beginner in C++ I am getting the following error error LNK2019: unresolved external symbol "public: __thiscall P_Model::...
[2 replies] Last: Thanks I found out the solution. I forget to write the constructor... (by jamjo)
is not a type error.
 
hi. i have a question about generic List. i have already built a new class of generic list that its working welll.. as i know when i build generic list i nee...
[1 reply] : Hey, You aren't allow to initialize the attribute when you declare ... (by MorningStar)
by navi33
error with sorting
 
hi. im new to this sorting stuff so please help me out here. im assign to input 10 numbers, then sort then to descending order. my problem is after i input 10...
[6 replies] Last: You could use vectors here is a video http://www.youtube.com/watch... (by OnymousIllusion)
Tips in making my code efficient
 
My C++ professor assigned a class project and I was put in the group to do a getlowest function of five scores. This is what I have so far as a code. int ...
[13 replies] Last: Wooot! I wanna participate too! Here's my submission: int m(int ... (by imi)
Programming...
 
Is there anyway to force yourself to stick with it?
[7 replies] Last: i don't think you have to find other languages, just stick with c++, b... (by blackcoder41)
by redsky
Cannot input when executed.
 
Hi, I am a complete novice with C++, I've been trying to teach myself for the past few days. I have some experience in types of programming (BASIC and HTML/CSS...
[2 replies] Last: Oh right. I've not read far enough into tutorial. Running before I can... (by redsky)
by KyleM
Question on learning c++
 
I started trying to Lear c++ about 2 years ago, after about 6 months of that time hoping from tutorial to tutorial I gave up. A a year later and I have started ...
[4 replies] Last: If you're using an IDE I'm sure it would already come with a linker as... (by Dacster13)
by drw4d
Entering Coordinates to an Array
 
I am working on an extra credit project for a class to build a Conway's game of Life. I am trying to build a function for entering coordinates, and have been g...
[4 replies] Last: As I expected, I think it was somehting really, really stupid. The ... (by drw4d)
Recursion
 
Hey everyone, I am trying to convert a binary number to decimal form but I keep getting an error when trying to use the pow function in cmath. The compiler is ...
[3 replies] Last: Yeah that solved the problem, thanks for the help! decimal = dec... (by yoked88)
by vlad61
strings and if's
 
#include <iostream> #include <string> using namespace std; int main() { string mystring; cout<<" Enter your name: "; getline (cin,mystring...
[3 replies] Last: There's actually a pretty good reason for it; double quotes designates... (by closed account jwC5fSEw)
by cortez
Using a for loop how do u raise a number to the power of another number?
 
Im stuck on a problem can someone please help. Are instructor wants us to use the for loop method instead of a Pow function and wants us to go as high as the 5t...
[10 replies] Last: Here's how I would've done it up to the end of his loop with what I ch... (by naturalnumbas)
table pointer in header file for use with multiple source files
 
Hi all, I'm rather new at these forum things, so sorry in advance if I post this at the wrong place or if it has already been answered. Here is my problem. ...
[no replies]
Reading file one Byte at a time
 
Hello, I have reviewed the section on file input/output, and am currently trying to read a file one byte at a time, change that byte, and put it back in. I am h...
[2 replies] Last: I compiled and ran this code, and I now have consistent size prints fo... (by closed account Lv0f92yv)
console application
 
Hi I am new to programming.I need a solution for the problem. A user is allowed to enter two digit number(For eg: 26).After the user hits the enter key ...
[4 replies] Last: Thank you.i will try it (by sujithkc)
Java program
 
Does anyone knows how to write this exercise? Write a program that reads a number, then calculates and displays the sum-of-digits. It should work for all nu...
[2 replies] Last: Hey, This is a C++ Forum! Here can you find a java forum for begin... (by MorningStar)
pls answer ASAP (1,2)
 
I am a really begginer in C++ and i need some help. Here is the Execise: Write a Function "uhrzeit". As parameters there should be given: Stunde, Minute and ...
[21 replies] Last: Right on Zhuge! ;) I always don't like the "ASAP" and "NEED ANSWER RIG... (by pinoynl)
READ TEXT FILE INSIDE A DIRECTORY NOT TO INCLUDE THE COMPLETE PATH
 
Guys, please help me how to open text file in a directory where i am executing the c++ program. Is there a shortcut not to specify the complete path of it. T...
[1 reply] : Hey, yeah there is a way: #include <fstream> #include <ios... (by MorningStar)
input matrice
 
how to enter matrices in c++ like in matlab?
[1 reply] : Hey, do you mean: #include <vector> int main ( ) { s... (by MorningStar)
C++ Exam - Open Book
 
Hello, I am going to take a C++ exam, and I am searching for the most concise and easy to read/interpret C++ book to use on this open book C++ exam. Can y...
[1 reply] : Hey, Definitly „C++ Primer“! It's not an openbook, but you can... (by MorningStar)
March 2010 Pages: 12345... 34
  Archived months: [feb2010] [apr2010]

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