•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 331,729 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,129 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:
•
•
•
•
•
•
•
•
The code prompts the user for a student name and the marks then prints out the report with a letter grade..It also asks the user for the file name and stores the data in the file. (View Snippet)
Hey, i was just mucking around and improving my code etc and made a calculator, it's not the best calculator in the world, it only can handle 1 or 2 numbers but i think it's good my self :). (View Snippet)
Just playing with the no.
points used in the program:
1. Even no cannot be prime except 2
2. % division of odd by even cannot be 0 (View Snippet)
Just playing with the no.
points used in the program:
1. Even no cannot be prime except 2
2. % division of odd by even cannot be 0 (View Snippet)
Good day, here is one of the commands that will allow you to get sound in your program. It was compiled using DevC++. (View Snippet)
Nothing but the VERY HARD Work out for long day and night.
It was actually i made it for my project work which my friend loved it very much.
This might be the useful stuff to you also.
Ya Now days rarely anyone uses the BGI stuff but also it is useful for the knowledge.
Ya If you don't mind you... (View Snippet)
This program generates lines of pascal's triangle, numbers after 23 generate weird output. (View Snippet)
This program takes a parameter, which is how many prime numbers you need. However if you want to make a program which checks whether a number is prime or not you can delete everything in the main function and put this line instead:
cout << isPrime (argv ) ? "It's a prime." : "It's not a... (View Snippet)
Two methods for two distinct needs when splitting a string (View Snippet)
This program uses snipets from a couple of other programs that I put together in order to make a program that displays the time and date and refreshes the time and date every second. I commented practically every line to explain, as far as I know, what it does. If you know of an easier way to do... (View Snippet)