otherwise, follow omgbnetsux's advice and get an educational version of VS. Of course you could get one of the free compilers for your personal pc, but if you're going to be using VS in class it might be better to use the same thing at home, at least until you're comfortable with some c++ programming.
Where can I get C++?? - Page 2
Forum Index > General Forum |
j-man
United States153 Posts
otherwise, follow omgbnetsux's advice and get an educational version of VS. Of course you could get one of the free compilers for your personal pc, but if you're going to be using VS in class it might be better to use the same thing at home, at least until you're comfortable with some c++ programming. | ||
jngngshk321
Korea (South)457 Posts
MS VC via bittorrent bloodshed c++ compiler gcc/g++ etc... | ||
yknarf
United States90 Posts
if you are learning to program and dont want any extra bloat then i wouldnt recomment visual anything until you need it | ||
Fernando Hierro
Spain316 Posts
| ||
Fernando Hierro
Spain316 Posts
http://www.borland.com/products/downloads/download_cbuilder.html btw if you're getting that class someone should have it (mates) | ||
1INK
United States630 Posts
To start out programming in C++, most compilers are fine. I have begun to read a few C++ books on my own spare time and have discovered that a large portion of books mention having or using Visual Studio. I've heard from one, however (Beginning C++ Game Programming, Michael Dawson), that Visual Studio 6 and below are bad choices because they do not implement the C++ language as well as Dev-C++ when it comes to the ISO standard. He did say, though, that Visual Studio.NET has no such problems. So here is my advice, then: You should ask your teacher what he / she wants you to use. Most of the time, teachers have certain preferences or teaching methods that may involve the use of a specific compiler. If your teacher doesn't have anything like that, get Dev-C++ (you can find it easily on google, i won't bother posting a link). It is really handy and has several nice different editor options that let you see your code in whatever way you choose, like you can have a black background with comments being italicized and grey, strings are yellow, etc (this is my personal favorite, but there are quite a few others). Now, the reason the majority of people would probably recommend getting Microsoft Visual C++ is because it supports many different types of files; definitely many more than the rest of them, and if you were to be hired at a company that was working on a big application, you would probably need the support of such files. They would probably use Visual Studio.NET, and so you need not fear about the language flaws because they aren't present in it. - Hope I helped... | ||
TLKiD
China1136 Posts
On February 04 2005 16:04 HowitZer wrote: Your classic negatively charged posts crack me up. This was one of your better ones because it was funny and not related to politics. haha | ||
Hippopotamus
1914 Posts
| ||
SoLaR[i.C]
United States2969 Posts
| ||
Veg
Canada2945 Posts
but i have to take to pass it and i would like to get a good grade so i dont get fucked over with my gpa t.t | ||
Veg
Canada2945 Posts
1)The factorial of a nonnegative integer n is written n! (pronounced “n factorial”) and is defined as follows: n! = n * (n – 1) * (n - 2)* … * 1 (for values of n greater than 1) and n! = 1 (for n = 0 or n=1) For example, 5! = 5*4*3*2*1, which is 120. Use while structures in each of the following: a) Write a program that reads a nonnegative integer and computes and prints its factorial. b) Write a program that estimates the value of the mathematical constant e by using the formula: e = 1 + 1/1! + 1/2! + 1/3! + … c) Write a program that computes the value of ex by using the formula e = 1 + x/1! + x2 /2! + x3 /3! + … 2)Calculate the value of π from the infinite series π= 4 - 4/3 + 4 /5 - 4 /7 + 4 /8 - 4 /11+ … Print a table that shows the value of π approximated by one term of this series, by two terms, by three terms, etc. How many terms of this series do you have to use before you first get 3.14? 3.141? 3.1415? 3.14159? 3)(Pythagorean Triples) A right triangle can have sides that are all integers. A set of three integer values for the sides of a right triangle is called a Pythagorean triple. These three sides must satisfy the relationship that the sum of the squares of two of the sides is equal to the square of the hypotenuse. Find all Pythagorean triples for side1, side2 and hypotenuse all no larger than 500. Use a triple-nested for-loop that tries all possibilities. This is an example of brute force computing. You will learn in more advanced computer-science courses that there are many interesting problems for which there is no known algorithmic approach other than sheer brute force. 4)A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 40 hours they work and “time-and-a-half”-1.5 times their hourly wage -- for overtime hours worked), commission workers (who receive $250 plus 5.7% of their gross weekly sales), or pieceworkers (who receive a fixed amount of money per item for each of the items they produce-each pieceworker in this company works on only one type of item). Write a program to compute the weekly pay for each employee. You do not know the number of employees in advance. Each type of employee has its own pay code: Managers have pay-code 1, hourly workers have code 2, commission workers have code 3 and pieceworkers have code 4. Use a switch to compute each employee's pay according to that employee's pay code. Within the switch, prompt the user (i.e., the payroll clerk) to enter the appropriate facts your program needs to calculate each employee's pay according to that employee's pay code. much thanks T_T | ||
n00bsaibot
United States1070 Posts
And i suggest you get on irc and hit up the c++ channels on dalnet and efnet, youre going to need them. Be prepared to be flamed beyond all recognition if you are only asking that they write the programs for you. And this doesnt sound like beginners c++ to me, what exactly is the name of your class and what educational level are you at? | ||
Ebenol
Sweden1983 Posts
| ||
choujji
Japan203 Posts
I only say this to prevent you from taking the easy way out as your obviously just starting to learn programming and you wont go far in this subject by having someone else do the work. | ||
proTOSS[GER]
858 Posts
On February 05 2005 16:07 n00bsaibot wrote: And this doesnt sound like beginners c++ to me, what exactly is the name of your class and what educational level are you at? Actually it's even below that. | ||
choujji
Japan203 Posts
On February 05 2005 16:07 n00bsaibot wrote: And this doesnt sound like beginners c++ to me, what exactly is the name of your class and what educational level are you at? looks like grade 8 difficulty to me but i m guessin its a first year university course since no one from canada talks about gpa til after high school | ||
GranDim
Canada1214 Posts
| ||
FreeZEternal
Korea (South)3396 Posts
import java.io.*; class Factorial { public static int factorial(int x){ int result = 1; for(int i=1; i<=x;i++) result = result * i; return result; } public static void main(String[] args) throws IOException{ BufferedReader reader= new BufferedReader(new InputStreamReader(System.in)); String line; line = reader.readLine(); int input = Integer.parseInt(line); int result =factorial(input); System.out.println(""+result); } } this is java just translate to C++ -_- this will work no need for any API just plain code -.-; to understand it well | ||
Bizkit
Sweden1137 Posts
| ||
FreeZEternal
Korea (South)3396 Posts
| ||
| ||