- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
10 Posted Topics
It is `int main()` not `void main(void)` and `#include <iostream>` not `...<iostream.h>`
So what's the error you're getting?
You wrote all that code and you can't create a random number generator??!!!
Combo Box? Do you have to make a gui for your program?
Hey lizziekadango, I tried to compile your code and I get a bunch of errors. Your struct should end with a semicolon, I don't get what you're trying to do when you pass the struct name in the void printbankaccounts(record_t record); function etc...!
Hi, I've just finished my c++ class (mechanical engineering) and as the final exam we have to create a simple program with graphical user interface and I need some help from you guys. T**he task is this**: we have to make a simple GUI that can take the diameters of …
QWERTZ ...here because i have to work on a lot of computers, not just in my own and all of 'em have QWERTY or QWERTZ. Cheers.
[I]Hello guys, Ron here...im going to start my IT lessons next year but I already started learning some basics in C++...actually, I tried making a Hangman game already but there's something wrong...My loop is incorrect...please help me...so here is my first ever code..[/I] I can't help you with your code …
I'm an absolute c++ beginner so please be patient. [CODE]#include <iostream> using namespace std; double array_of_5[5] = {1,2,3,4,5}; double sum(double a , double b ); double a= array_of_5[2]; double b= array_of_5[2]; int main () { cout<<"The sum of two members of the array is: " <<sum<< endl; return 0; } …
Hi I'm new to this. I'm a mechanical engineering student and have to learn c++, i have this book and there's a program source code. My question is: why do we need to include ctime in this code and what is it good for? [CODE]#include <iostream> #include <cstdlib> [B]#include <ctime>[/B] …
The End.
hekri