Beginners - June 2011 (Page 9)

Reference
 
I am trying to get reference working with my program but am having difficulties with it giving out t...
[2 replies] Last: By passing area as a parameter. Please use code tags, the code is comp... (by Athar)
Reserved Word
 
I have an easy question for you all? I think. I have installed Visual Studio 2010 and I bought a b...
[7 replies] Last: Hello to everyone. First thanks for your help everyone and many than... (by Tigerblomst)
Writing on a file problem!
 
Hi! I want to create a program which writes on a file an array of integers and then returns the hig...
[8 replies] Last: cout << data.tellg() << endl; cout << data.tellp() << endl; What are ... (by alendrex)
Organizing and beginning programs?
 
I am totally new to programming, but i have a good understanding of the basics. My problem is I have...
[2 replies] Last: Thank you. I didn't know that I could have left out the variable total... (by KingDreGo)
by torque
Float Number Multiplied by 100 to Turn Into Integer
 
I need to write a program that converts an input of money in the format of dollars and cents (2.53) ...
[5 replies] Last: I can't. The professor said the input has to be float. What I ended u... (by torque)
Another error code...
 
Hello again! I am creating a simple calculator, just for fun. I keep getting this error: " ISO C++ f...
[2 replies] Last: Oh, thank you! Now it works as a charm! Thank you @modoran! (by MisterArrow)
Double precision operation
 
I am working on a code and I see something I do not expect. The code essentially does a great deal o...
[no replies]
Error code
 
Hello. I am making a program for adding text to a file and more. I get this error code: "expected ...
[4 replies] Last: Oh that is a good idea! Thank you! I will start doing that. (by MisterArrow)
Bank Account Calculator
 
#include <iostream> #include <Windows.h> int main() { short int current_balance;//current b...
[6 replies] Last: Hah, that's clever. Thanks for that. :) (by Ikaron)
Returning an Array through a function
 
I want to create an Bi-Dimensional Array of type char in a function, and then return that value. I...
[4 replies] Last: OK, I will wry it with a uni-dimensional array. (by Nisheeth)
void
 
Can you please help on this. I have a C program where I am calling a void function. void Read...
[3 replies] Last: No problem. (If you're done with the thread, you can mark it as solved... (by anonymous23323124)
by tonnot
Initial values of variables
 
About initialization of variables...(read here in cpluplus) When declaring a regular local variable...
[1 reply] : You have to explicitly assign them zero. Or, much more verbosely, use... (by jsmith)
new task befor 27th of june
 
Assignment Problem Statement: Printing Electricity Bill Detailed Description: W...
[9 replies] Last: i have made it yesterday but that was two files i was just want a litt... (by haseebsarwar42)
Getline not reading from a file
 
I have made a program that will read the data from a file and then search for a specific ID, and the...
[8 replies] Last: C'mon I use VS Express 2010, on Windows7 and it works fine :)) May ... (by Nisheeth)
Overloading operators
 
I'm not able to compile this on VS 2010. Can someone try it on theirs and give me any pointers on ho...
[1 reply] : error C2668: 'sqrt' : ambiguous call to overloaded function c... (by LB)
Problem with VS 2010?
 
Or is it my code? Can someone compile this and let me know if it works for them? I'm getting errors...
[2 replies] Last: Oh, of course. Thanks! (by pastamaker)
Vectors
 
When using vectors, is it better to use vectorName.at(i) or vectorName to get values at an index? ...
[2 replies] Last: Thanks. (by Zking773)
Is there a good SDK to use with cygwin?
 
Are there certain editors or software development kits that can be used in a linux terminal? Or with...
[10 replies] Last: You can execute pretty much any normal cmd command by preceding it wit... (by ascii)
by opie
Program for quizzing user on multiplication
 
What the program should do: The program should allow the user to specify a range of values for a ti...
[9 replies] Last: I got the last part. (i like to send in the completed part if someone... (by opie)
Delete self?
 
Hi, is there any way to add code to delete self, like, you will run program, it will do something a...
[5 replies] Last: Impossible, windows keeps the file stream open for a program, so it ca... (by LB)
June 2011 Pages: 1... 7891011... 41
  Archived months: [may2011] [jul2011]

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