Beginners (Page 2)

Pointer issues
 
I am not sure why it keeps telling me invalid converstion from 'int' to int*' three of them for line...
[4 replies] Last: ah I see. Alright I guess i'm going to have to take a breather and fig... (by MRangel)
Global to local variables
 
Hey so how hard would it be to convert this code to have no global variables. I found out that my pr...
[2 replies] Last: Not allowed to use array's haven't learn them yet (by Gingerbread)
Inheritance question
 
Hey guys, This week in my CS class I'm learning about inheritance. We are asked draw 3 UML diagra...
[3 replies] Last: No problem =) (by crimsonzero2)
Dynamic Array "Resizing"
 
I have to write a program where the user will input integer numbers. How many numbers they enter is ...
[6 replies] Last: Your resize function looks correct to me but the main loop isn't right... (by dhayden)
Learning functions and need some help...
 
Hello. I am getting into functions in my computer science class and have an assignment that requires...
[4 replies] Last: You don't have to initialize payRate, consultTime or totalIncome they ... (by mobotus)
A bunch of compiling errors on my program?
 
Hello. I have a basic program I am trying to build that is due tomorrow, which is just a basic emplo...
[9 replies] Last: @anup30. Fixed. Thanks. I was just glad someone had a problem I coul... (by MrGoat)
Large Numbers show up as negatives.
 
Hello, this is my first post on this forum so I'll tell you a little about myself first. I am prett...
[4 replies] Last: I havent even gotten to making preventative code for numbers less than... (by popsaregood230)
My code will compile, but it says I have not initialized my variables
 
As I said in the header this code will compile, yet it puts out erroneous results, and says the "who...
[2 replies] Last: Also on line 9 when you declare your function prototype, you don't giv... (by MrGoat)
Trying to Search a Character Array for a word.
 
Hello,I'm trying to create a function that will accept a character array that the user enters a word...
[1 reply] : This might help: http://www.cplusplus.com/reference/cstring/strcmp/ ... (by kemort)
by Sh0es
Getting chars from cin.
 
I'm trying to extract characters from a file in a project I'm working on. The only problem is that t...
[1 reply] : You can use the cin.get() function, with the exception of doing it lik... (by crimsonzero2)
c++ memory amount
 
Hello guys, I'm very newbie in C++ and I would like to confirm something. Am I right if I say thi...
[2 replies] Last: http://gribblelab.org/CBootcamp/7_Memory_Stack_vs_Heap.html (by mobotus)
Really need help on finding length in text file.
 
1. Find the largest word on the list, print it, and print it's length (the str.length() function wil...
[2 replies] Last: Well, thanks but the way you do is completely different then what I ha... (by justtale)
Accessing members of another class
 
Hello. I am trying to write a function (setxy in class A) in one class to access members (function s...
[3 replies] Last: Thanks a lot. It works now. I've spent hours on this stupid mistake. (by carlossentino)
How to change the size of an array based on input?
 
I'm wondering what the easiest way to shorten an array based on user input would be? My program all...
[11 replies] Last: Wow, so I figured out that my problem was in a different part of my co... (by Ascendant78)
by mjpin1
Guessing game code won't work
 
I am very new at programming and i am trying to make a guessing game. They are to guess a number be...
[11 replies] Last: Okay i understand now. Thanks everyone for all your help! (by mjpin1)
compiler error "left operand must be l-value"
 
I am having problems compiling this program. line 29 causes the error "left operand must be l-value"...
[2 replies] Last: thank you very much. Also, I apologize for the lack of whitespace (noo... (by mojorising484)
Exceptions and what()
 
When I run the below code, the runErr.what() does not print anything. I have no clue why. Also, some...
[7 replies] Last: If you are using an IDE, make sure you are running the correct code (by Smac89)
Program will not output correctly
 
My assignment was to write a program that will take in an ISBN number with dashes and check to see i...
[no replies]
Need help on my program I can't get it to work properly.
 
I am having an issue getting my program to output correctly, and having the loop repeat. The progra...
[6 replies] Last: Sorry for the late reply, but I ended up getting the program to functi... (by titan93)
Need a function to do an output
 
Want to do a function Linearsearch and need to know how to search on age and print it. // Bu...
[6 replies] Last: Yes, I got it to work. Thank you! /P (by patriic48)
Pages: 1234... 103
  Archived months: [aug2014]

Cannot post in this page. To post a new message, go to the first page.