This is a discussion on New Compiler within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by dead_captain I was using DEV-C++, and that was a simple app. I can't seem to get the ...
Oh yeah. My VC++ 2005 Express has those buttons, but if I remember correctly that is because I configured it to have them right after installation.There's no build or compile app. Goto the Build menu and select build solution.
As with all new programs, you just need to get used to it. It's much different from dev-c++.
But you can actually show the Build toolbar to add build to the toolbar. Or you can customize it to add build to the toolbar.
I haven't seen any build on the toolbar by default, however.
But that would be a restriction on licensing akin to the copyleft of the GPL.But I am wondering, does the lack of restriction on software you distribute mean you have to also forfeit those restrictions when distributing, meaning you can't create "proprietary" code and have to distribute everything open?
There are no licensing restrictions, so basically you are free to do with the applications what you will.
The only thing that isn't allowed is redistributing the debug runtime libraries. So you can't give someone a debug copy of your app if they don't have Visual Studio installed!
I am currently watching the C++ video that the site offered. I have type the code in as it appears on the video.
I notice that there is a bar at the top that says "(global scope)" and next to directly to the right is the same type of bar. On the video after the intmain input was added it appeard on the right bar. On my machine it didn't. Does anyone know what is wrong?Code:#include "nazi.h" int main (int argc, char* argv) ( std::cout<<"john wayne was a nazi!"; return 0; )
Sorry if my term "bar at the top" is incorrect, but please look for it. It is one of those selection bars with an arrow. (drrr)
I believe the problem i am have is with the intmain() function not showing up there.
Also when I compile the comes up:
error C2059: syntax error : 'return'
and this: error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
I don't know, but these compile errors are are always there. I have tried to change code, and nothing seem to work. It sucks. When she does it on the video it works fine, all I changed was the words.
1>------ Build started: Project: mdc, Configuration: Debug Win32 ------
1>c:\users\r.lyda\documents\c++\mdc\mdc\johnwayne. cpp(6) : error C2143: syntax error : missing ')' before ';'
1>c:\users\r.lyda\documents\c++\mdc\mdc\johnwayne. cpp(6) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\r.lyda\documents\c++\mdc\mdc\johnwayne. cpp(6) : error C2059: syntax error : '<<'
1>c:\users\r.lyda\documents\c++\mdc\mdc\johnwayne. cpp(8) : error C2059: syntax error : ')'
1>c:\users\r.lyda\documents\c++\mdc\mdc\johnwayne. cpp(9) : error C2059: syntax error : 'return'