Beginners - April 2008 (Page 3)

by CaDa
cant use sqrt(x) function !!! please help me
 
Hello, I'm getting nervous at my school assignment. Can you please check and find what errors I'm supposed to fix ? Please, hope you'd not mind giving your prec...
[5 replies] Last: This very site has an /excellent/ reference. Just check it out at http... (by rpgfan3233)
can someone help me with this assignment?
 
im really confused about this assignment, i know how to do the separate files part but im having trouble with rest of the assignment any help would be greatly a...
[7 replies] Last: ok so here is what i got so far. I hope im on the right track: in ... (by burnout)
Why const is after that?
 
Hi I'm new to C++ and I'm confused on something: int GetNum () const; Why const is after that? What is the difference between the code above and the on...
[2 replies] Last: Thanks a lot :) (by GBStudio)
by ares89
Nested Structs and Pointers Confusion
 
Ok, basically i don't understand why its not outputting 1979. I thought that with the pointers it would be several -> and it would work fine. #include <ios...
[1 reply] : You forgot to use 'new' on favorite_movie. :P Also, don't forget to... (by rpgfan3233)
assigning one ifstream to another ifstream
 
Hi I am Aden and Iam currently working on a C++ assignment. everything was working fine until i tried to assign one ifstream object to another ifstream objec...
[5 replies] Last: i still dont understand what you are trying to do.. the top code is y... (by bgbnbigben)
hi im ismael balana for Phillipines....need your help....
 
my instructor in C++ prog-1 gave an asssignment but i cant finish...im too confusing i dont konw how to execute this.. here my code: #include <iostream....
[3 replies] Last: can you use code tags please? its a little hard to understand.... (by bgbnbigben)
by sparky
char[] to string OR comparing 2 char[]
 
Hello, How do I convert the contents of a char array into a string variable? For example, char word = 'hello'; string strWord; strWord = word; ...
[7 replies] Last: Thanks (by sparky)
by Jeanne
Help? Returning multiple variables with a function
 
Hello and thank you for any help in advance. I am currently working on a c++ assignment as follows: Specific Tasks: Write a program that repeatedly 1. Inp...
[1 reply] : I got an answer to this problem in the general C++ forum. Thanks Grey... (by Jeanne)
Need to understand these lines
 
Hello All. I'm trying to improve a file loader for Irrlicht engine. But, as a begginer, there are some things that seems to be strange to me. This is a cond...
[2 replies] Last: Thanks Rpgfan3233! This cleared a lot my mind. (by Auradrummer)
by yogurt
Project help!!!!
 
i know i just posted and am being demanding but i need some way to aplly the skills ive learned i my time learning C++. I need some ideas for a project(lke bigg...
[1 reply] : How about a bigger calculator? Something where the user can type in... (by closed account z05DSL3A)
by yogurt
#include<cmath>?
 
Ok i found his code whick i know is incorreet but... What is the #include<cmath> do in the following program or is it pointless. # include <iostream> # inclu...
[5 replies] Last: Yeah, headers like <cmath> are usually protected from being #included ... (by rpgfan3233)
Namespaces & "error C2059: syntax error : 'string'"
 
REPOSTED THE PROBLEM BELOW WITH ALL SUGGESTED IMPROVEMENTS. STILL PROBLEMS THOUGH! THANKS GUYS
[8 replies] Last: Yep, initialization lists. Just beware of them when you play with virt... (by rpgfan3233)
Help with Multidimensional array
 
Hi guys, i need some help I'm trying to make a battleship kind of game that allows the user to input how big the grid size is and how many ships. I'm using a...
[no replies]
by joe25
The program doesn't run although it is compiled
 
#include <iostream.h> #include <math.h> #include <conio.h> void main() { //this program calculates any expression you want cout<<"if you want...
[2 replies] Last: Thanks for your help Grey Wolf.It was useful to me. (by joe25)
Hi, Looking for Suggestions
 
Hey peeps im new here and dont really know any languages except i guess shell scripting which isnt really a language i just want to know where i can get started...
[1 reply] : Press the documentation button on the left and click the C++ language ... (by Somelauw)
Multidimensional/ 1-D array Probelm
 
Hi, I need to have my program store names and department title stored in a two dimensonal array. I have it set up as a char type array using strings but it ...
[2 replies] Last: thanks for the help man.. i got that part sorted out. but I still hav... (by xtheendx)
variable size arrays
 
how can i write a variable sized array...for instance: int x; in >> x; int array ; now, that wont compile on my compiler (Borland turbo c++). can anyo...
[4 replies] Last: thanks for all the help - im using Borland Turbo c++, but possibly usi... (by bgbnbigben)
Someone help me please
 
I am trying understand OOP or Object oriented programming. If someone could put a definition that makes sense and how it could be used as a real-world example.
[3 replies] Last: The Wikipedia article is pretty good at explaining OOP. Obviously, ... (by rpgfan3233)
by Mlorna
Incorrect Output, please help??
 
#include <iostream> using namespace std; int main( ) { int age, nrDaysPerWeek ; char gender; float nonReaders, menOverForty, womenOverForty,...
[4 replies] Last: @Grey Wolf well, the whole conditional statement should be executed h... (by milee)
function that handles a streamstring
 
never mind
[no replies]
April 2008 Pages: 12345... 18
  Archived months: [mar2008] [may2008]

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