Lost Password?


Go Back   CodeCall Programming Forum > Software Development > C and C++

C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 07-22-2008, 06:33 PM
Dren's Avatar   
Dren Dren is offline
Guru
 
Join Date: Nov 2006
Location: Kosovo
Age: 18
Posts: 424
Rep Power: 13
Dren is just really niceDren is just really niceDren is just really niceDren is just really nice
Send a message via MSN to Dren
Default Re: Visual Basic to C++ Syntax Translation

Quote:
No problem
VC++ and C++ is just the same... It doesn't really matter to most people, I guess it would take you about a week to get into VC++ IDE (wild guess) and their linking and form creating.
I just started but I have a problem. I have downloaded a book from a link that I found here in CodeCall called "Sams Teach Yourself Visual C++ in 21 Days"
and thats with the whole meaning of the word GREAT but when I try to compile some projects i get this error:


--------------------Configuration: P1 - Win32 Debug--------------------
Compiling resources...
Error executing rc.exe.


I really dont know why?


Quote:
There is no form creating in C++ (Dev-C++, NetBeans etc), so unless you want to hard code your forms, I suggest you at least try Visual Studio to see if that's OK.

Warning: Pro edition = $$$, use Express

Using VC++ console app:
That's a template, with compiler and linking options set etc. All common C++ IDEs have those.

Any more I could help you with while we're at it?
Dont worry about this Bro, in my country there are no copyright laws so I use torrents to download stuff. At the moment Ive got VS6 and VS2008 Pro. Im planning to get from VS6 to VS .NET, am I going backwards?

Ive got an other questions. I know im getting you all bored but CodeCall users know how to respect ppl. who dont know stuff, U GUYS RULE.

I need to know the Visual Basic's PSet function for C++, is that possible?

THANX A LOT BROTHERS,
Dren
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 07-22-2008, 06:52 PM
dargueta dargueta is offline
Guru
 
Join Date: Oct 2007
Age: 18
Posts: 793
Last Blog:
Programs Under the Hoo...
Rep Power: 13
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default Re: Visual Basic to C++ Syntax Translation

No, you're catching up with everyone else by switching to .NET.

Drawing on forms is kinda involved for a novice C++ programmer, even using MFC. I strongly suggest you stay away from Win32 (i.e. GUI) programming for a bit until you've got the basics down. Start with console programs first, then work your way up. To draw on a form, you need all these fun things like handles, brushes, device contexts, etc. which Visual Basic conveniently hides from you.

As for your rc.exe (Resource Compiler), you could put your code in a new project; sometimes the project files get messed up and you can't really reset them too well. If that doesn't work, post your resource file (usually called something like projectname.rc or resource.rc) as well as the header file for it (usually resource.h). There might be some syntax violation or perhaps a file missing that rc.exe is looking for. Is there any more text in the error message, or is that it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 07-22-2008, 08:58 PM
Dren's Avatar   
Dren Dren is offline
Guru
 
Join Date: Nov 2006
Location: Kosovo
Age: 18
Posts: 424
Rep Power: 13
Dren is just really niceDren is just really niceDren is just really niceDren is just really nice
Send a message via MSN to Dren
Default Re: Visual Basic to C++ Syntax Translation

Well, I dont know where's the problem then. Just after VS installation, I run VC++ and make new MFC AppWizard(.exe) project using the wizard, i select the Dialog Based method and when I build it it shows me the error. Just that error nothing more. Wheres the problem then, I get the same thing in 3 different PCs.

Please help,
Dren
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 07-23-2008, 08:54 PM
Dren's Avatar   
Dren Dren is offline
Guru
 
Join Date: Nov 2006
Location: Kosovo
Age: 18
Posts: 424
Rep Power: 13
Dren is just really niceDren is just really niceDren is just really niceDren is just really nice
Send a message via MSN to Dren
Default Re: Visual Basic to C++ Syntax Translation

FIXED IT The problem was the VS I have been using, i dont know were but I downloaded another ISO of VS6 and worked GREAT. Now Im reading this book and its going well. I have read the first 2 days today and everything is going PERFECT. C++ seems to be GREAT, but I still love VB lol.

Thanx Bros, Im so sorry for disturbing you all.
All the best,
Dren
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 07-24-2008, 08:36 AM
marwex89's Avatar   
marwex89 marwex89 is offline
Guru
 
Join Date: Jul 2008
Location: Viking-land!
Posts: 3,995
Rep Power: 30
marwex89 is a jewel in the roughmarwex89 is a jewel in the roughmarwex89 is a jewel in the rough
Send a message via AIM to marwex89
Default Re: Visual Basic to C++ Syntax Translation

I've been off last days, glad to see you managed
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #16 (permalink)  
Old 07-24-2008, 10:14 PM
dargueta dargueta is offline
Guru
 
Join Date: Oct 2007
Age: 18
Posts: 793
Last Blog:
Programs Under the Hoo...
Rep Power: 13
dargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the roughdargueta is a jewel in the rough
Default Re: Visual Basic to C++ Syntax Translation

I messed up in my last post; I meant to say GDI, not MFC. Those are two different things. For some reason I can't edit my post, though.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Contest: C# vs. Java vs. Visual Basic Jordan General Programming 266 Yesterday 12:37 PM
Creating a Class in Visual Studios.Net (Visual Basic Section) dream Visual Basic Programming 11 05-12-2008 03:47 PM
Visual Studio 2005 and Windows Vista Jordan General Programming 3 01-22-2007 04:21 PM
Graphical programming add-in for Visual Basic 6.0 xXHalfSliceXx Visual Basic Programming 10 01-03-2007 08:14 AM
Parallel Port Programming Using Visual Basic kevintcp85 Visual Basic Programming 12 12-06-2006 01:09 PM


All times are GMT -5. The time now is 11:24 AM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 101%


Complete - Celebrate!

Ads