Click here to Skip to main content
15,887,585 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: I have a stumper on Forms Designer Pin
led mike19-Sep-07 12:16
led mike19-Sep-07 12:16 
Questionrun outside exe in a form Pin
themancer17-Sep-07 0:07
themancer17-Sep-07 0:07 
AnswerRe: run outside exe in a form Pin
earlgraham4-Jan-08 7:25
earlgraham4-Jan-08 7:25 
Questionc++ project Pin
nicetohaveyou16-Sep-07 19:25
nicetohaveyou16-Sep-07 19:25 
AnswerRe: c++ project Pin
Russell'17-Sep-07 23:12
Russell'17-Sep-07 23:12 
AnswerRe: c++ project Pin
Hamid_RT18-Sep-07 19:59
Hamid_RT18-Sep-07 19:59 
AnswerRe: c++ project Pin
Signal-925-Sep-07 17:06
Signal-925-Sep-07 17:06 
QuestionNeed help figuring out error message Pin
jada092316-Sep-07 9:08
jada092316-Sep-07 9:08 
I am trying to learn C++. I am trying to write a program that will allow a 5 digit number to be input and then print the digits seperated by three spaces. I have the following, but when I try to compille it I am getting an error. I would defenitely appreciate any help.


#include <iostream>

using std::cout;
using std::cin;
using std::endl;

int main();
{
a = number1 / g%;
b = a / g%;
c = b/ g%;
d= c/ g%;
e = d/g;
g = 10

cout << "Enter a five digit number : ";
cin >> number 1;

cout << "a b c d e" << endl;

system("PAUSE");

return 0;
}
keep getting the following errors, when trying to compile the program
How would I fix this?

expected ';' unqualified-id before ‘{‘ token
expected ’;’ or ‘;’ before ‘{‘ token


jada 23

AnswerRe: Need help figuring out error message Pin
Luc Pattyn16-Sep-07 9:48
sitebuilderLuc Pattyn16-Sep-07 9:48 
GeneralRe: Need help figuring out error message Pin
jada092316-Sep-07 10:09
jada092316-Sep-07 10:09 
GeneralRe: Need help figuring out error message Pin
Christian Graus16-Sep-07 10:29
protectorChristian Graus16-Sep-07 10:29 
AnswerRe: Need help figuring out error message Pin
Christian Graus16-Sep-07 10:07
protectorChristian Graus16-Sep-07 10:07 
AnswerRe: Need help figuring out error message Pin
Christian Graus16-Sep-07 10:08
protectorChristian Graus16-Sep-07 10:08 
GeneralRe: Need help figuring out error message Pin
jada092316-Sep-07 10:30
jada092316-Sep-07 10:30 
GeneralRe: Need help figuring out error message Pin
Christian Graus16-Sep-07 12:24
protectorChristian Graus16-Sep-07 12:24 
Questionhelp.....undefined reference to `InitCommonControlsEx@4' ERROR help??? Pin
$w0rdf1$h16-Sep-07 0:56
$w0rdf1$h16-Sep-07 0:56 
AnswerRe: help.....undefined reference to `InitCommonControlsEx@4' ERROR help??? Pin
$w0rdf1$h16-Sep-07 1:54
$w0rdf1$h16-Sep-07 1:54 
Questionundefined reference to `InitCommonControlsEx@4' ERROR help??? Pin
$w0rdf1$h16-Sep-07 0:55
$w0rdf1$h16-Sep-07 0:55 
QuestionWrapping legacy code Pin
dedil14-Sep-07 7:48
dedil14-Sep-07 7:48 
AnswerRe: Wrapping legacy code Pin
led mike14-Sep-07 8:37
led mike14-Sep-07 8:37 
GeneralRe: Wrapping legacy code Pin
dedil14-Sep-07 8:47
dedil14-Sep-07 8:47 
GeneralRe: Wrapping legacy code Pin
led mike14-Sep-07 9:28
led mike14-Sep-07 9:28 
GeneralRe: Wrapping legacy code Pin
dedil14-Sep-07 9:36
dedil14-Sep-07 9:36 
GeneralRe: Wrapping legacy code Pin
led mike14-Sep-07 9:51
led mike14-Sep-07 9:51 
Questionhow to validate a date using c++ Pin
h_he_el_el_o14-Sep-07 4:30
h_he_el_el_o14-Sep-07 4:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.