Make a program.

Here you can talk about C++ And C# And Other languages programming.

Make a program.

Postby MrAl3n » Sat Dec 09, 2006 1:49 am


Ok first off you must have Microsoft Visual c++ Installed

Then open visual c++ up, click file and click new

Image

Follow the above instuctions and then..

Image

Once youv down that you should get this..

Image

there ya can edit all ur stuff on yer form its just like in vb just abit diff..

Image

there you can edit everything once your done with that go to 'Build' and click Build (WHAT EVER NAME YOU HAVE YOUR PROJECT) exe and you program will be done and there uv created something in c++ lol i was bored so i decided to do this dont care if you think its lame or not i just got bored :D
When life gives you Questions. Google has Answers. ^_^
User avatar
MrAl3n
Co-Admin
Co-Admin
 
Posts: 140
Joined: Mon May 22, 2006 11:04 pm
Location: China

Postby Sabotage2 » Sat Dec 09, 2006 10:56 am

good job X East BoY X
Sabotage2
BANNED
BANNED
 
Posts: 574
Joined: Tue Dec 14, 2004 7:31 pm

Postby NinjaCoder » Sat Dec 09, 2006 12:27 pm

Image
NinjaCoder
 

Postby MrAl3n » Sat Dec 09, 2006 2:02 pm

:) thanks
When life gives you Questions. Google has Answers. ^_^
User avatar
MrAl3n
Co-Admin
Co-Admin
 
Posts: 140
Joined: Mon May 22, 2006 11:04 pm
Location: China

Postby locohacker » Sat Dec 09, 2006 10:38 pm

good tutorial specially for peeps that dont know bout c+

PS: you can now mod your own topics in the forums just in case ya need too edit or delete some posts in your post :wink:
User avatar
locohacker
Site Admin
Site Admin
 
Posts: 4363
Joined: Fri Dec 31, 2004 6:59 pm

Postby MrAl3n » Sat Dec 09, 2006 11:59 pm

Thanks Loco :) I'll get more tuts as soon as i get my other pc running i'll teach some more stuff :)
User avatar
MrAl3n
Co-Admin
Co-Admin
 
Posts: 140
Joined: Mon May 22, 2006 11:04 pm
Location: China

Postby Sabotage2 » Sun Dec 10, 2006 10:09 am

hey i try to make a program with paltalk but its not working on pal :(
Sabotage2
BANNED
BANNED
 
Posts: 574
Joined: Tue Dec 14, 2004 7:31 pm

Postby MrAl3n » Sun Dec 10, 2006 11:09 am

In what programming language are you making it in ?
User avatar
MrAl3n
Co-Admin
Co-Admin
 
Posts: 140
Joined: Mon May 22, 2006 11:04 pm
Location: China

Postby BattleStar-Galactica » Mon Dec 18, 2006 10:10 pm

MFC is too complicate for vb programmer to jump in that because it's very difficult for debugging compare to vb, I suggest someone want code in c++ native to use c++ managed becuz you can code in both unmanaged and managed.

example I can do this

Code: Select all

       String^ winclass="DlgGroupChat Window Class";
             IntPtr pWinclas = System::Runtime::InteropServices::Marshal::StringToHGlobalAnsi(winclass);
         
            //unmanaged code
             char *Winclass=static_cast<char>(pWinclas.ToPointer());
             HWND  hParent=FindWindow(Winclass,NULL);
             char wincaption[255];
             int x=GetWindowTextA(hParent,wincaption,255);
              x =MessageBoxA(NULL,wincaption,wincaption,MB_OK);
               //managed code
            String^ s;
            s= System::Runtime::InteropServices::Marshal::PtrToStringAnsi(static_cast<IntPtr>(wincaption));
             System::Windows::Forms::MessageBox::Show(s);
             System::Runtime::InteropServices::Marshal::FreeHGlobal(pWinclas);



I call FindWindow and MessageBoxA directly from my managed project without using the P/Invoke like c# or vb have to use if they want some win32 function like FindWindow

and it's seem easy to learn like vb :lol: click click click and you got it :wink:
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby ThE DJ GaNgStER » Tue Feb 06, 2007 9:55 pm

hey people im just annoying you all but anyone has Microsoft Visual c++ ??
ThE DJ GaNgStER
BANNED
BANNED
 
Posts: 380
Joined: Mon Dec 27, 2004 11:34 pm

Postby Ghost » Tue Feb 06, 2007 10:12 pm

Ghost
 

Postby BattleStar-Galactica » Wed Feb 07, 2007 3:04 am

me feeling not good
me go to watch #*$! now
me search #*$! now
me dont find good #*$!
me sad :cry:
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide


Return to C++, C# And Others Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests