Beginners - May 2015 (Page 35)

by enemy
f.fobj2
 
Hello! Please, what exactly means f.fobj2 in that example? Why is the value 8 and not 11? Many t...
[2 replies] Last: You already have a thread discussing this: http://www.cplusplus.com/fo... (by AbstractionAnon)
by enemy
from main to another function
 
Hello! This code works. Please, I would move the dynamically allocated object to any function othe...
[12 replies] Last: Why did we use dynamic allocation then? What's with "we"? :) I'm j... (by AbstractionAnon)
by enemy
dynamic memory
 
Hello! Imagine: int* p; //pointer (value : 0x deadbeaf, location: 0x aaaaaaaa) p=new i...
[2 replies] Last: Yes, p has an address (we can call it 0xDEADBEEF if you like lol) on l... (by Texan40)
Need help on creating reverse fuction
 
Hi, I have created this function to reverse the character array. However, it doesn't print the arra...
[6 replies] Last: Can anyone help me with this program please? (by nomanrasheed)
Trying to get a function to return an input
 
On line 35 I'm trying to return the int incrd which the user has inputted but i get a window which p...
[no replies]
Comapare string with enum values
 
I have to read a string such as "<string> <something> <number>" and to check if <string> == "some st...
[no replies]
Printing Calculated Output to Textfile
 
I have a program that balances a checkbook using user input data. I need to print the data from the ...
[2 replies] Last: Actually just realized this could all be accomplished using out data..... (by Kaelure)
How do structures work?
 
So if I have a structure, and lets say I declare structure variables in a function outside of main; ...
[no replies]
I cant get a function to print a matrix
 
I'm trying to make a function that a can call to print this matrix but when I run the program it giv...
[1 reply] : The error occurs because in your main function you have declared the a... (by konstance)
Taking data from a text file and putting it into arrays.
 
Hi I need to take data from a text file "cost.txt" and be able to do some simple calculations like f...
[no replies]
Conceptual Questions - Please help!
 
Assume ints require one cell in memory, that a float number requires two cells and that the struct m...
[2 replies] Last: @ AbstractionAnon, Thank you! It makes sense. (by newbiee999)
i want help fast please..! help me please guys
 
I have got a question to make the program of row and columns..I use c++.. I have to use - for loop ...
[3 replies] Last: That is not a complete program. Don't use a word processor for enteri... (by AbstractionAnon)
Minesweeper
 
I started c++ a few weeks ago and I have been having trouble with this for a few days now. I am tryi...
[2 replies] Last: Thanks that fixed it :D (by lynch98)
Help with Structures
 
Im getting a "terminate called after throwing an instance" error. I just started writing a program f...
[1 reply] : 67: (temp.find(",",beg)).c That does not look complete... (by Gamer2015)
Need help with a card game
 
Hi there! I'm new here and I'm quite new to programming. I'm in a programming class here at my schoo...
[2 replies] Last: bump again (by Marrcus)
by xxz
array of stract
 
Write your question here.I need to enter the desired group and sort alphabetically the names of stud...
[4 replies] Last: Thank you for your help and explanations. (by xxz)
Help with seperate files and arrays
 
Hello I need help with using separate files with classes and arrays between the two files separatin...
[4 replies] Last: Oh alright thanks that helps alot (by TristanT101)
march of toads error
 
Hi, my code will not compile correctly. i have everything written and in order, there are only 2 err...
[3 replies] Last: Don't define a function inside another function? void f() { // b... (by cire)
Program won't read past the first entry in file
 
I need help fixing this C++ program that is not writing the second entry in one file to another file...
[2 replies] Last: Formatted input extraction and binary mode don't mix well. (by cire)
Template and Class Specialisation
 
Hello! I'm quite curious about the format of specialised templates. Here's one: template <type...
[5 replies] Last: So "<>" simply means that it tells the complier the arguments that the... (by Drakonaut)
May 2015 Pages: 1... 3334353637... 40
  Archived months: [apr2015] [jun2015]

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