• Welcome to the new Internet Infidels Discussion Board, formerly Talk Freethought.

C Compilers

When I my first class in software class, FORAN, I'd keypunch the cards, drop the deck off at the school computer center, and come back later for a printout,.
 
MS Visual Studio is very good. A lot of effort creating useful features.

I have one problem. x^y does not work and I can not figure out why. pow(x,y) works fine.

I looked on the net and found 1 report of a similar problem.
 
MS Visual Studio is very good. A lot of effort creating useful features.

I have one problem. x^y does not work and I can not figure out why. pow(x,y) works fine.

I looked on the net and found 1 report of a similar problem.

There's no power operator in C/C++. x^y means bitwise XOR.
 
MS Visual Studio is very good. A lot of effort creating useful features.

I have one problem. x^y does not work and I can not figure out why. pow(x,y) works fine.

I looked on the net and found 1 report of a similar problem.

There's no power operator in C/C++. x^y means bitwise XOR.
Well, there is power operator for x=2 and y=[0,1,2,3,....] :D
2^x=1<<x
 
MS Visual Studio is very good. A lot of effort creating useful features.

I have one problem. x^y does not work and I can not figure out why. pow(x,y) works fine.

I looked on the net and found 1 report of a similar problem.

There's no power operator in C/C++. x^y means bitwise XOR.

Bitwise OR is | ,AND &. Logical OR || AND && jn C.
 
VS works fine, but...

After the trial period I was prompted to create a MS account to keep using it free. I did and used my throwaway email.

A few days later I was prompted to login and was told my account was locked for suspicious activity , to unlock I have to give them a phone number for a new password message, from which I assume they can get personal info from the number. Same story from others online.

I downloaded Eclipse and am trying it out.
 
Got Eclipse working. The only problem I am having s changing the text colors. I am using the mingw compiler.
 
VS stopped runni g todaty and I am locked out of the install directory but no worries.

Code Blocks is a better tool than Eclipse. It comes bundled with a compiler suite for FORTRAN, Python, and C/C++. A good tool if you want to learn C/C++ or if all you need is a console app. It will do everything I needed VS for, and it takes up a lot less room.

Eclipse appears to be an old tool. To zoom you have to use +- keys instead of the mouse.
 
VS stopped runni g todaty and I am locked out of the install directory but no worries.

Code Blocks is a better tool than Eclipse. It comes bundled with a compiler suite for FORTRAN, Python, and C/C++. A good tool if you want to learn C/C++ or if all you need is a console app. It will do everything I needed VS for, and it takes up a lot less room.

Eclipse appears to be an old tool. To zoom you have to use +- keys instead of the mouse.

Eh, I wouldn't necessarily conclude that a modern development tools is "old" if it prefers keyboard shortcuts to the mouse. The ideal for most software developers I know is to have a setup where you never touch the mouse. But yeah, Eclipse happens to be quite dated. If you are looking for an IDE for C, C++, I'd consider CLion from Intellij: https://www.jetbrains.com/clion/
 
VS stopped runni g todaty and I am locked out of the install directory but no worries.

Code Blocks is a better tool than Eclipse. It comes bundled with a compiler suite for FORTRAN, Python, and C/C++. A good tool if you want to learn C/C++ or if all you need is a console app. It will do everything I needed VS for, and it takes up a lot less room.

Eclipse appears to be an old tool. To zoom you have to use +- keys instead of the mouse.

Eh, I wouldn't necessarily conclude that a modern development tools is "old" if it prefers keyboard shortcuts to the mouse. The ideal for most software developers I know is to have a setup where you never touch the mouse. But yeah, Eclipse happens to be quite dated. If you are looking for an IDE for C, C++, I'd consider CLion from Intellij: https://www.jetbrains.com/clion/

There are over a dozen. I am not a developer. Haven't tried it, Code Blocks will import VS projects.
 
Back
Top Bottom