Beginners - October 2010 (Page 19)

by Gwamir
Pointer initialization
 
Hello, I have a question about pointer initialization. I do not know if this question has been asked before but I searched and can not find. I have read in the ...
[8 replies] Last: Ok thank you very much !!!! (by Gwamir)
by Kness
File not reading data properly.
 
This is a code that I have been working on with the help of some other people. The code compiles and runs properly, and it puts the basic information into the o...
[1 reply] : Please edit your post and put the source inside code tags. (by PanGalactic)
Switching from ubuntu to windows
 
I have learned C++ in ubuntu, Is the knowledge of understanding linux C++ is enough to do programming in Windows C++?
[1 reply] : This depends on whether you want to create console applications, appli... (by Kyon)
problem with setting correctly variables in a class
 
Hi all I have a problem with one class that i have made and I am wondering if you can help me. I will first explain how my class looks like. // constructor: ...
[1 reply] : When i debug it I see that the problem is that when i go from the set... (by Disch)
finishing the program
 
hello there im new here im with one problem at this part of my program this program its for one study center and this fase of the progam its to say how many ...
[2 replies] Last: tanks hamsterman this part is now working i still need to finish 2... (by RenatoCirino)
by yuyum
any idea to put an array and pointer?
 
these are my codes please someone help me... i don't know where to put pointer and i have to present my codes this week.. thanks..(^_^) #include<iostream>...
[3 replies] Last: You have to be more specific about what you mean. I have no idea what... (by Disch)
Whats wrong?
 
I need to calculate and make a table with temperature conversions from farenheit to celsius and kelvin. Here's what I have so far... #include <cstdlib> #in...
[2 replies] Last: well previously it would never end calculating, like when i would inpu... (by iqqy101)
Question of cin object
 
Im just wondering about something, because im used to actionscript, c++ is quite different to it. When i put: cout <<"hi"<< endl; cout <<"bye"<< endl; ...
[2 replies] Last: thanks :) (by TpOreilly)
Basic Boolean function
 
I have an incredibly basic function to create but my mind just won't make the connection. It prototypes as: bool get ( int & a, int & b) and it needs to acc...
[10 replies] Last: It certainly did. It's still not working for me but I'll modify it a b... (by rassilon256)
I can use some enlightment!
 
Hello everyone,i am reading Strustrups book and i found a spot in a example of his code which i don't fully understant.In this example we have a class Date whic...
[2 replies] Last: ok so simple ,thanks ! (by kikirikou)
Card Creation with Structs
 
Hello, I'm trying to make a card creation and shuffling program in my C++ class, and I'm having a lot of trouble coming up with how the structs interact with...
[1 reply] : Maybe you should try it like this: struct singleCard { int ran... (by Darokthar)
STUCK WITH #INCLUDE <STRING> (1,2,3)
 
Hi, i am learning from a book, and in one section it says: "I include the file string, part of the standard library, so i can use a string object to access a...
[47 replies] Last: :D (by TpOreilly)
Vectors
 
Can someone help me implement enough functionality my my_vector.cpp file to appease the basic main.cpp? I was given the main.cpp and my_vector.h files. I also c...
[2 replies] Last: OK i put that in. I guess my teacher forgot to put that piece in. Can ... (by swalton)
Confused on Homework problem
 
This is what are assignment consist of: J Inc. has 2 employees. You are asked to write a C++ program calculate the salary for each employee. From the keybo...
[2 replies] Last: I haven't paid attention to the logic details, but have merely fixed s... (by closed account 3hM2Nwbp)
Strange bug in "histogram" function...
 
I'm in the middle of making a program that simulates a game of lotto. So far I've implemented the following features... generating the lotto numbers Printin...
[2 replies] Last: After playing around with it a bit I've discovered that the clrscr() f... (by mike246)
Copying Char Arrays and Concatenation
 
Here my start. I need to copy the first name to a new array using a loop and then get the concatennation of the first and last name. I can't use strings.. Exam...
[1 reply] : You could do it with new and pointers. char* copyCharArray(cha... (by Darokthar)
Understanding the usefulness and behviors of 'this' pointer
 
I am a student at the University of Advancing Technology in Tempe, AZ. As a part of our assignment for this week, I am to inquire this forum with a question. ...
[3 replies] Last: As I understand it, when you call a member function, the object callin... (by pabloist)
by LuciaR
Problem with deleting a dynamic array
 
Hello! First of all, please excuse me for my bad english! Im having the following problem. In some function, i return a dynamic array of int with some size...
[3 replies] Last: Im sorry!! I can use it, i just realize!! Hehe.. my fault!!! Thank yo... (by LuciaR)
by areid
Checking an input file
 
Hi I am learning about streams and I am trying to read numbers from a .txt file but I want it so that if it reads anything other than a number it will print an ...
[1 reply] : Check the state of the file stream using good(). (by Zhuge)
by DJ TLG
fuction calling from another class file
 
I have the following fraction file. I have to create a main for it in its own cpp file but i have no idea about how to do it. Please help. #include <iostrea...
[2 replies] Last: Thanks Albatross for your time. I really appreciate it nut i figured i... (by DJ TLG)
October 2010 Pages: 1... 1718192021... 42
  Archived months: [sep2010] [nov2010]

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