54 Discussion / Question Topics

Remove Filter
Member Avatar for Black Magic

[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] …

Member Avatar for SamuelAdams
0
375
Member Avatar for Black Magic

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?

Member Avatar for hieuuk
0
137
Member Avatar for Black Magic

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

Member Avatar for caperjack
0
108
Member Avatar for Black Magic

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() …

Member Avatar for ArkM
0
383
Member Avatar for Black Magic

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 …

Member Avatar for mitrmkar
0
166
Member Avatar for Black Magic

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 …

Member Avatar for Ancient Dragon
0
103
Member Avatar for Black Magic

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.

Member Avatar for CoolGamer48
0
220
Member Avatar for Black Magic

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 …

Member Avatar for William Hemsworth
0
136
Member Avatar for Black Magic

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 …

Member Avatar for Narue
0
277
Member Avatar for Black Magic

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() % …

Member Avatar for Black Magic
0
90
Member Avatar for Black Magic

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() …

Member Avatar for VernonDozier
0
177
Member Avatar for Black Magic

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 …

Member Avatar for Prabakar
0
123
Member Avatar for Black Magic

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

Member Avatar for itdupuis
0
77
Member Avatar for Black Magic

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 …

Member Avatar for Sky Diploma
0
107
Member Avatar for Black Magic

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 …

Member Avatar for caperjack
0
95
Member Avatar for Black Magic

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 …

Member Avatar for John A
0
83
Member Avatar for Black Magic

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 ??

0
40
Member Avatar for Black Magic

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]

Member Avatar for caperjack
0
139
Member Avatar for Black Magic

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 …

Member Avatar for Duoas
0
117
Member Avatar for Black Magic

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 …

Member Avatar for Salem
0
99
Member Avatar for Black Magic

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 * ** *** **** ***** ****** ******* ******** ********* ********** …

Member Avatar for William Hemsworth
0
98
Member Avatar for Black Magic

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 …

Member Avatar for n.aggel
0
148
Member Avatar for Black Magic

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 …

Member Avatar for joshmo
0
154
Member Avatar for Black Magic

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!

Member Avatar for Infarction
0
86
Member Avatar for Black Magic

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)

Member Avatar for William Hemsworth
0
134
Member Avatar for Black Magic

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 …

Member Avatar for Nick Evan
0
136
Member Avatar for Black Magic

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 …

Member Avatar for Black Magic
0
100
Member Avatar for Black Magic

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

Member Avatar for Ancient Dragon
0
247
Member Avatar for Black Magic

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 …

Member Avatar for Radical Edward
0
125
Member Avatar for Black Magic

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.

Member Avatar for Narue
0
3K

The End.