Beginners - April 2009 (Page 20)

by murva
Display using void
 
I have the following code, I need to display a message on screen, using a function on a class: Class A . . void getname1() { cout<<getname(); } ...
[8 replies] Last: This is the kind of thing you should do: #include <iostream> #inc... (by closed account z05DSL3A)
Gauss-Jordan
 
Hello all, I am trying to design a program that will use gauss-jordan elimination to solve up to 50 simultaneous equations for a final project in my first c++ c...
[1 reply] : http://www.cplusplus.com/forum/articles/7459/ (by Gumbercules)
Creating Dice Roll Win32 App
 
So, I'm sure this has been done to death, but I'm doing a Win32 Console Application that will let the user enter the number of sides on their dice. It then roll...
[6 replies] Last: Ah hah! That's what it was. Thanks, Gumbercules. Here is my finished c... (by Verathis)
Using pointers
 
first off, i looked at alot of posts with pointer information, none of which i saw to help. Here is what i have i have a file mp4.h that contains class MPC...
[11 replies] Last: I tried deleting the .gch files... i still get the same error... undef... (by vexstorm)
Displaying outputs
 
Hello, I have a txt file as an input which have 300 lines information and after some processes like sorting, calculating, I need to display these lines. I ne...
[3 replies] Last: You will need to use the Win32 Console Functions http://www.google.... (by Duthomhas)
by omk
Microsoft C++ exception: std::bad_alloc at memory location 0x0019f3e0..
 
Im getting a error that Im having a hard time finding out whats going on with a crash here and Im hoping you guys could have helped me out. The crash seems e...
[1 reply] : nvm, found the error myself :) Just some sloppy work from myself. (by omk)
How to translate numbers into words?
 
I have to write a program using a class to where, if a user puts in a number, such as 5678, the program will output "Five thousand six hundred seventy eight". ...
[1 reply] : Having the number 5678, you can convert to "5678" ( http://www.cpluspl... (by Bazzy)
by haco
html-related inquiries ...
 
i understand that this is a C++ website, but i need help with some html stuff. i think maybe someone here can guide me to the right place, or even just answer m...
[5 replies] Last: you know what, that link actually looks like a great place to start. i... (by haco)
User input to a txt file
 
Hello, this is my first post here at cplusplus. I started learning c++ yesterday and I can't seem to figure out how to write user input to a text file. The pro...
[11 replies] Last: Okay, thanks alot! (by Mashed Pwntato)
LOGIN
 
please i was wondering if anyone could help me with my code, i feel its kinda too long and a good program should be as brief as possible... please would be very...
[3 replies] Last: Well that go to its just not right way to get out in C++ (more of C) a... (by PSPMAN90)
by ryman
trouble with pointers
 
I have to change this call by reference into a call by address, how would i do that? void calcstat (double average , int size, double &a, double &b, double ...
[1 reply] : use * instead of & in the parameter, and wherever the variable is used... (by Gumbercules)
Free C++ IDE
 
Any suggestion for a good free IDE for C++ ??
[16 replies] Last: MingGW Developer Studio its quite simple and 90 Style looking... I ... (by PSPMAN90)
Variables
 
Hey I've been watching this forum for a while and finally decided to stop being lazy and start learning how to program. Thanks in advance for the help :) My ...
[2 replies] Last: Thanks Bazzy. (by ROFL A PIGGY)
Error with Microsoft Visual Studio???
 
\Debug\Hour 05.exe.intermediate.manifest : general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified. Just d...
[6 replies] Last: That's what I thought it'd be, Grey. However I got on it this morning ... (by Warrior2089)
from java to c++ constructors...
 
im trying to read some C++ code but i dont understand the constructor can someone please explain what the ampersand is doing(i know its not the address operator...
[13 replies] Last: Thank for the good insight guys. I have never even thought of doing th... (by LacViet)
A small problem here
 
#include <iostream> using namespace std; class Stack { public: Stack() { sp = 0; } void operator<<(int); int operator>>(string); private: int sp; ...
[1 reply] : as an operator that returns an int, >> must return and int. You could ... (by Gumbercules)
by zydeoN
Problem with array and loop
 
I wanted to make a program to output the values inputed by the user, storing them in an array. If the user inputed a negative number the program would close.How...
[15 replies] Last: a character left in the stream. cin.get only waits for user input if t... (by Gumbercules)
Problems with Class Constructors
 
I cannot seem to figure out what I am doing wrong here. I have a lot more code I am trying to get working, but I get the same errors with this simple code, so I...
[3 replies] Last: Yes, that would work. (by firedraco)
by token
Converting Code to Function [difficulty]
 
I've been trying to convert some code into a function. The function would receive the user input stored in a pointer to char array allocated in dynamic memory, ...
[10 replies] Last: char ** words; is a pointer to pointer or a double dimensional array. ... (by writetonsharma)
Beginner looking for some info
 
Hello, I'm sorta new to C++, I've played around with C# and Java (as hobby, nothing professional) and thought I would give it a try for some projects. I kno...
[4 replies] Last: windows programming starts with win32 and move to mfc, com, atl etc et... (by writetonsharma)
April 2009 Pages: 1... 1819202122... 28
  Archived months: [mar2009] [may2009]

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