the name says it all
can you build a function inside a class and then initiate it from main or another location?
Type: Posts; User: AndyBomstad
the name says it all
can you build a function inside a class and then initiate it from main or another location?
Ok so what im trying to do now is learn how to use the "Heap",
(if anyone has a tutorial for this that would be great)
so in this program im getting input from the user and sending it into char...
Ah geez....lol sorry i slopped that code with the whole "Char choice"....lol alright here it is lol Thanks
//Menu
#include <iostream>
#include <conio.h>
using namespace std;
int...
ok now im trying somthing like this its not working either
//Menu
#include <iostream>
#include <conio.h>
using namespace std;
didnt work..i might be trying it wrong heres the code im working on if ya wanna mess with it
//Menu
#include <iostream>
#include <conio.h>
using namespace std;
Ok so i know how to use the F1-F10 keys but am strugling on F11 And F12, and im really not sure how to go about fixing it..
so if anyone knows how to Access the F11- F12 Keys please let me know...
*Fixed it* :p
Ok guys i got a problem and i dont know where to start to fix it...
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
void display();
int getinput();
int Subgetinput(char* p, int...
alright well now im stuck on the autorunning from the pendrive....anyone got any ideas?
i already made the Autorun.inf file, but i dont know how to go aobut getting it to start as soon as the pen...
yeah thats true, but the program is made to Autorun as soon as the pendrive is connected, or if you start it from within the folder in the pendrive
its basicly made so that i can pop my pen drive...
** Yep that works i just changed the path to "\\Linker\\Apps\\programname.exe" and it worked since both the main EXE and the ones its calling are both on the Pendrive it automaticly starts from that...
ok im trying to create a menu program that will launch as soon as my pen drive is connected...problem is...while writing my code i have no idea what the Drive letter for my pen drive is until i get...
im using Windows Xp, and Dev-C++ complile
ive been looking around for the ASCII for the "F" keys but i cant find it i can find ESC but not the functions
Ok Nevermind Guys I Got It Done Somehow...lol
//Written By : Andrew Bomstad
//"Function Keys"
#include<iostream>
#include<conio.h>
yeah...im still where i began lol, im trying to look around at ASCII charts but im not getting anything for the F1-F12 keys, and my second problem is i dont know how to make it initialize the command...
ok i wanna build a little menu program that will allow the user to hit "Esc" to exit the program, hit "F1" to get help, and stuff like that but i dont know what the code for those keys are, do you...
ok im trying to write a program using 2 Char Arrays of about size 10, and i want the first to be a users first name and the 2nd to be their last
once they enter both first and last i want it to...
hey i got one more question, i just need to figure out whats going on, in the "isdigit(); statement, like i said ive been trying to figure it out latley and obviously you know whats going on
Hey Thanks Alot Darryl, Thats Exactly What I was after, i was just getting to using isdigit() but i couldnt get that stomped out, but again thanks for the help!
yeah the while loop cleans it up quite a bit,
//Written By : Andrew Bomstad
//"Day6"
#include<iostream>
#include<ctype.h>
#define cls system("cls");
ok wait no..... now i see my problem...if you type "6tk" it'll still just pick up the 6 and ignore the other two... i want it to error if it picks up any "garbage" input like that
ok so i got a question... again lol big suprise
ok so heres the code i got so far
//Written By : Andrew Bomstad
//"Day6"
#include<iostream>
you could try
system ("title This is the title");
but i wouldnt get in the habbit of using the "system" for anything
ok guys all that helped and ive got a slightly working code
#include<iostream>
#define cls system("cls");
#define pause system("pause");
using namespace std;