It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Just couple of days ago I saw my friend was using Microsoft Visual studio to write the C language for our assignment and I'm wondering how can he use that.
I use putty connect to our Linux environment but with Microsoft Visual I see that they look more profession and also very useful in a way of managing the codes for us.
I really love to know if is that really works because I didn't have a chance to ask my friend how he gets it work but if anyone of you could please tell me what option would be the same library for C because all I see is C++ and when I tried compile it doesn't seem to work for me
You can use the /TC compiler option. Sometimes even with a .c extension c files are compiled as C++.
The link I have posted tells on how to do it from command line as well as IDE
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
How would I do this if it is possible? Would it work the same way with Notepad++?
Well, you would need a compiler of some sort. C++ source code won't just run, you need to turn it into an executable file.
And, yes, you can easily do this. If you download MinGW (minimalist GNU for Windows), you can compile source code from the command line just fine, using any editor you want to create the source files.
But it's possibly not something I'd inflict on a beginner, you may want to look in to the Microsoft Visual Studio Express editions since they give you an IDE which makes you life easier, unless you're a crusty old coder like me who still likes using punched cards :-).
Like others mentioned, You just need a compiler to compile a C++ code and then execute it (if the compilation is free of errors). It is NOT dependent on what platform you use to write your code - any text editor works. Notepad or any other editor is just a tool.
You need a compiler to execute the code(e.g, gcc(use cygwin to run gcc if your on Windows)). Also, please search first before you ask(there are a lot of info on the Internet about C++ compiling). I suggest Visual Studio if you want to compile without using the command line(and make programming easier)
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
This is my first time on the board and I want to use OpenCV with RAD studio C++. I spend a lot of time, searching and trying how to start with OpenCV and RAD studio but without result.
There are a lot of tutorials with visual studio but can't find any with RAD studio from Embarcadero. I'm wondering if someone on this board is using RAD studio and wants to help, how to start with OpenCV and RAD studio.
Greetings, DreeOlee
Edit_15/12/2012: I added the library's to the settings. See picture. Than I tried opening a sample file in the tutorial folder, "display_image.cpp" and got a lot of errors, see picture. Can anyone help? I don't have any handles to get started at this moment.
EDIT: Changing to other IDE because: http://code.opencv.org/issues/2057
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am having problems with wpa_supplicant not being able to authenticate to my AP on my current USB WIFI card, so I've decided to try to debug and see what's going wrong, and maybe I can make it work. In this process I would like to be able to debug the app.
I'm not that proficient in linux IDEs. Can you recommend me an IDE that has a way to import an open source project and magically make it appear in the IDE so I can build and execute it?
You can try QtCreator IDE. The efforts of getting a "make"-based project into QtCreator are acceptable. If the project uses CMake as a build system, support is even better.
For generic projects:
http://doc.qt.nokia.com/qtcreator-2.5/creator-project-generic.html
The IDE has everything you need, including debugger (gdb) and profiling (valgrind) support.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I bought a pre-owned Macbook a little while ago and I've been coding inside Sublime Text 2 and compiling in Terminal with g++*. I wrote a stupid text adventure that I'd like to send to a friend and if possible, I'd like to know if there are any methods available on Mac of compiling to exe similar to the way I've been compiling my code (i.e. solely with terminal).
I understand that the easy solution would be to just compile the .cpp file on a Windows computer but my computer is all the way over at the other side of the room.
Thanks.
*Doing this due to being on Snow Leopard and being too tight to buy OSX Lion or an Apple developer license to access Xcode. If anyone has encountered the same problem then I found this solution on here ( https://github.com/kennethreitz/osx-gcc-installer and http://cims.clayton.edu/csci1301/how_to/compiling_c_on_a_mac.htm). Allows you circumvent the bullshit of Apple.
Yes, it is possible and it's known as cross-compilation. Besides building your own toolchain for doing this, you can use MinGW: Cross compiling with MinGW
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I'm using Visual C++ 6.0 on Windows XP and am trying to use FFTW or KISSFFT libraries for my project. Can someone help me understand how I can compile and link them to my program?
It seems that there are project files here : http://www.fftw.org/install/windows.html . There is no reason to use VS 6.
The authors of the library don't recomend to use Microsoft Visual Studio Compiler (http://www.fftw.org/install/windows.html)
Read carefully documentation for FFTW library (see ./doc/fftw3.pdf file inside FFTW library package). According to 10.2 clause of documentation, there is no straightforward way to compile it under Microsoft Visual Studio, like open Visual Studio solution and press "build" button. But there is a hope you will be able to do that if you will follow recomendations in this clause.
10.2 Installation on non-Unix systems
It should be relatively straightforward to compile FFTW even on non-Unix systems lacking the
niceties of a configure script... bla bla bla
You can use http://cygwin.org to build; i've tried before it work very well