Click here to Skip to main content
15,914,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help Needed Pin
Ravi Bhavnani25-May-02 5:47
professionalRavi Bhavnani25-May-02 5:47 
GeneralRe: Help Needed Pin
pnpfriend25-May-02 5:55
pnpfriend25-May-02 5:55 
GeneralRe: Help Needed Pin
Renjith Ramachandran25-May-02 6:48
Renjith Ramachandran25-May-02 6:48 
GeneralRe: Help Needed Pin
Mazdak25-May-02 7:04
Mazdak25-May-02 7:04 
GeneralRe: Help Needed Pin
Renjith Ramachandran25-May-02 7:29
Renjith Ramachandran25-May-02 7:29 
GeneralRe: Help Needed Pin
Michael Dunn25-May-02 8:39
sitebuilderMichael Dunn25-May-02 8:39 
GeneralRe: Help Needed Pin
tiaozi25-May-02 22:40
tiaozi25-May-02 22:40 
Generalsilly question Pin
pnpfriend25-May-02 4:58
pnpfriend25-May-02 4:58 
i'm so sorry to ask the silly question..
i creat empty console application.
i have one header file that contain class declaration
another one cpp file that is class definition
the last cpp file is main file.
in main.cpp, StartJob is unknown.. don't know why. in logic i think that shouldn't be
an error.
<br />
//startjob.h<br />
class StartJob<br />
{<br />
  public:<br />
  StartJob();<br />
void GetStartJob();<br />
}<br />
<br />
//startjob.cpp<br />
#include "startjob.h"<br />
<br />
StartJob::StartJob(){}<br />
StartJob::GetStartJob()<br />
{<br />
 cout<<"Start job now"<br />
}<br />
<br />
// startjob is unknow in main... why is that?<br />
// main.cpp<br />
#include <iostream.h><br />
#include "Startjob.cpp"<br />
#include "startjob.h"<br />
<br />
void main()<br />
{<br />
  StartJob ajob;  //error don't know StartJob<br />
  ajob.GetStartJob();<br />
<br />
}<br />
<br />
<br />

GeneralRe: silly question Pin
Stan Shannon25-May-02 5:22
Stan Shannon25-May-02 5:22 
GeneralRe: silly question Pin
pnpfriend25-May-02 6:23
pnpfriend25-May-02 6:23 
GeneralRe: silly question Pin
Stan Shannon25-May-02 6:36
Stan Shannon25-May-02 6:36 
GeneralRe: silly question Pin
pnpfriend25-May-02 8:56
pnpfriend25-May-02 8:56 
GeneralRe: silly question Pin
PJ Arends25-May-02 9:46
professionalPJ Arends25-May-02 9:46 
GeneralRe: silly question Pin
pnpfriend26-May-02 4:28
pnpfriend26-May-02 4:28 
GeneralRe: silly question Pin
pnpfriend26-May-02 4:29
pnpfriend26-May-02 4:29 
GeneralCreate Edit Control Pin
laphijia25-May-02 4:23
laphijia25-May-02 4:23 
GeneralRe: Create Edit Control Pin
Martin Speiser25-May-02 5:18
Martin Speiser25-May-02 5:18 
GeneralNTFS Pin
Mazdak25-May-02 3:18
Mazdak25-May-02 3:18 
GeneralRe: NTFS Pin
redeemer25-May-02 3:32
redeemer25-May-02 3:32 
GeneralRe: NTFS Pin
Mazdak25-May-02 3:35
Mazdak25-May-02 3:35 
GeneralRe: NTFS Pin
redeemer25-May-02 3:54
redeemer25-May-02 3:54 
GeneralRe: NTFS Pin
Mazdak25-May-02 4:06
Mazdak25-May-02 4:06 
GeneralRe: NTFS Pin
Renjith Ramachandran25-May-02 3:52
Renjith Ramachandran25-May-02 3:52 
GeneralRe: NTFS Pin
Mazdak25-May-02 4:07
Mazdak25-May-02 4:07 
GeneralRe: NTFS Pin
Renjith Ramachandran25-May-02 5:45
Renjith Ramachandran25-May-02 5:45 

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.