54 Discussion / Question Topics
Remove Filter [CODE]#include <iostream> using namespace std; int main() { char exit; cout << "Exit? Y / N " << endl; cin >> exit; if ( exit == 'Y' || exit == 'y' ) { } if ( exit == 'N' || exit == 'n' ) system("PAUSE>nul"); else { } } [/CODE] … | |
Hello, I have came from C++ and have decided to learn C# and XNA 2.0, I am wanting a good book for C-Sharp for complete beginners, but [B]not[/B] for dummies. I have came accross: [url]http://www.amazon.co.uk/Microsoft-Visual-2008-Step-Developer/dp/0735624305/ref=sr_1_3?ie=UTF8&s=books&qid=1232880050&sr=8-3[/url] Btw, because I have programmed in C++ I get the basic consepts Reply please? | |
Hello, I'm thinking about building my own laptop, I have no experience, I need your thoughts. If I did i would be getting some immense specs. 1TB HD. 8GB RAM (Can i get this for laptops?) Also i'd want internal bluetooth, wireless and webcam. REPLY A.S.A.P | |
Hey, I'm just wanting to know how i can make some code so no random numbers are the same, I've got this so far to get the random numbers and display them but tried this and that and couldn't get it to work. [CODE=C++]#include <iostream> using namespace std; int main() … | |
Hey, I decided to make a little visit to [URL="http://winprog.org/tutorial"]Winprog[/URL] and decided to go on the page "Menus and Icons" and so i copied and pasted the code from the website to give me.. [CODE=C++]#include "resource.h" IDR_MYMENU MENU BEGIN POPUP "&File" BEGIN MENUITEM "E&xit", ID_FILE_EXIT END POPUP "&Stuff" BEGIN MENUITEM … | |
Hey, My want to make creation this time is a program where you would ask the user for a website and then they would input it and then IE/FF would open up and your done!. Just I'm not sure how I would achieve this. Just point me in the right … | |
Hey, I have seen some code examples were people include there own files, e.g [code]#include <myFile.h>[/code] do i just have to save a file called myFile.cpp? and if so can i declare a function in myFile and then use it in untitled1 without declaring it just including myFile. Thanks. | |
Hey, I have been trying to learn C++ for a few months know but I'm still not 100%. I've got a good book and all that just do get a bit confused. The thing is I want to learn GUI but i'm not sure what to do. Should I go … | |
Hey, I know this question has been asked allot but I am wanting to know of where I could get a simple window GUI book, I am not wanting winprog, but infact a book, and tbh could you direct me to a good book, but is quite slow and has … | |
Hey, When i say right i mean is this the best way to do it. The program works fine and I just put it together in about one minute. [CODE=C++]#include <iostream> using namespace std; int main() { srand(time(NULL)); const char* words[] = {"silly", "bafoon", "monkey"}; int i = rand() % … | |
Hey, my dad was checking the "lotto" results so that inspired me to make a little program of my own, i accomplished that just got a problem.. [CODE=C++]#include <iostream> using namespace std; int main() { srand(time(NULL)); unsigned int lotteryBall; for(int i = 0; i <=7; ++i) { lotteryBall = rand() … | |
Hey, I got bored so decided to make this pointless program but am a bit confuzzled.. [CODE=C++]#include <iostream> using namespace std; int main() { int decision; do { system("cls"); cout << "Welcome to my pointless menu!" << endl; cout << "1 : Do Nothing." << endl << "2 : View … | |
Hey, I am interested in starting electronics and was wondering about the keyboard, you have the caps lock and the num lock which have green lights, Are these lights just L.E.D's and if so could I buy a different colour one and replace it :D? scribble back | |
Hey, I was bored and had not made a program for a short while so decided to make one, Just have a few questions and some "How do you.." questions, well heres my code.. [CODE=C++]#include <iostream> #include <fstream> using namespace std; int main() { int registerID, ID; char name[20]; char … | |
Hey, I am seeking a new laptop and was thinking about getting a RAM upgrade as soon as I got the laptop, how ever i've found looking at 4gb ram it's usually (2X 2GB) and i was just wondering if this is two different cards and if so does your … | |
Hey, I'm thinking about buying a mac laptop and if i did i would get a ram upgrade, I was browsing through some on eBay and was just wondering if i could just buy a ordinary 4gb ram or would have to have a specific one because of it being … | |
I'm wanting a new laptop and have decided to get a mac, Just a few things i want: built in webcam 2GB ram at least 150/200 gb Many thanks can this be available ?? | |
Hey, I've seen this external hardrive and was wondering if this would be ok to save ALL my files to it, So in the end i wouldn't have any files on my computer but all on the hardrive, its 1TB in data, 1024gb if i'm correct? [URL="http://www.argos.co.uk/static/Product/partNumber/0622165/Trail/C%24cip%3D1500011728.Office%2C%2BPC%2Band%2Bphones%3EC%24cip%3D1500011797.Hard%2Bdrives.htm"]Clicky[/URL] | |
Hey, I was reading my book about C++ and read the default input piece of equipment was the keyboard, I was just wondering if there was a "simple" (ish) way to change it, example if i pressed a button on the monitor it would "cout << "monitor = pressed";" or … | |
Hey, I am not stuck on this or anything just a bit confused about if this is the right way to go.. Well i was wondering on the river (five cards that go into the middle of the table) i am going to make them random and that is no … | |
Code Should Explain It self.. [CODE=C++]#include <iostream> using namespace std; int main() { unsigned int digit; for( digit = 0; digit < 10; digit++ ) { /* I WANT THE OUTPUT TO CARRY ON UNTIL DIGIT == 10 & OUTPUT * ** *** **** ***** ****** ******* ******** ********* ********** … | |
Hey, I got bored so was making this program and i know how to get the highest and lowest number but I was wondering if there was a even quicker way, or would : [CODE=C++]if( number1 > number2 && number1 > number3) highNum = number1; else if( number2 > number1 … | |
Hey, I made i looked up toupper and made a little program out of it and have come to a little situation, When i enter the space character " " it does not output what i want and it just closes. [CODE=C++]#include <iostream> using namespace std; int main() { int … | |
Hey, I let my 5 year old brother on the computer before and now total chaos has happened, programs are loaded though not being shown on the start menu, Heres a pic: [url]http://i250.photobucket.com/albums/gg274/Bum_Fluff_2008/help.jpg[/url] Please help a.s.a.p! | |
Hey, I was just wondering what was the simplest way to "real" world type, like open wordpad and you could watch it actually typing, thanks in advance. (Hopefully the answer is not writing to file etc) | |
Hey, i was thinking these may help me if I made these little programs etc, but i've came to a situation, I've go no error but have to use [CODE]cin.get();[/CODE] twice, here's the whole program.. [code=c++]#include <iostream> using namespace std; int main() { system("title Simple use of if else if … | |
I went to the beach at the weekend and played on one inpeticular game, the one were you pull the lever and XOO or w.e comes out, i was going to make one but thought i would ask if this was the best solution.. [CODE=C++]#include <conio.h> #include <iostream> using namespace … | |
Hey, I was just wondering if i could write my C++ code on notepad and run it etc? I am asking this because atm i'm at a community centre and on a computer, but not allowed to download anything, so can i? reply asap please | |
Hey. I get bored so muck around with c++ and i have made this: [CODE=C++]/* My shop program*/ #include <iostream> #include <fstream> #include <conio.h> #include <time.h> using namespace std; int main() { double quantity; unsigned int itemNo; time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime … | |
Hey, I was just thinking and came across this idea and wanted to know if it could be done, say if the user enters 321, my program would output 123, 450, 054 etc etc Could you please show me how this could be achieved thanks. |
The End.