ok i wont to make a program that converts octal to decimal.
what i need to do is read a number like 1256 and brake it up.
so it will say ok your number was 1256.
than do
1*8^3
than
2*8^2...
Type: Posts; User: firefly
ok i wont to make a program that converts octal to decimal.
what i need to do is read a number like 1256 and brake it up.
so it will say ok your number was 1256.
than do
1*8^3
than
2*8^2...
i am having some problems with this program. i have hilighted the areas in red that have errors.
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <time.h>
#include...
that helps alot
ok is the a way do do something like:
if(someone presses the up arrow)
{than do this}
i know i use and if and i need to do something like the ketkey were if the user presses a key than the...
i have went around and i foune devcpp is very good and its free but i like my new visual studeo .net thanx for the input
i just would like a diffrent or better user interface and i did do a couple of trials and i like other things better but i just wonted some suggestions for a user friendly compiler
hmmm that MVS .net sounds like a good idea
ok devcpp was ok but i wont a really good user friendly compiler and price isnt really my problem cuz im really getting into this c++.
so can anyone give me a recomendation on were i should invest...
can someone show me how to use vector to read .txt files.
im srry but my reply was put in the wrong thred i was going too quickly
ok i am making a game and i wont to save it. like with file inout and output so when the program ends it will be able to use the data.
so what i was thinking hay lets have it make a .txt file and...
thanx that was easyer than i thought
ok how can i get it so it will ask for a string and the string will be and number of char long.
ex:
hello or hi
and have if check the string to do something like this:
ok you tyeped hello so the...
i know you can but how?
i need the code specificly
how do i make it so if i use a file input and output so that is will save the .txt file were i wont and not were the compiled program is...
ok im working with a graph and im making it so if i click somewere and it makes a ball that ball will go twords another point.
what i have to work with is a function than is like this :
...
k +thanx that helped
i just dont know what it is or what its used for... the tutoral didnt help
this is just something i dont get...
int main ( int argc, char *argv[] )
ok but i still get some error here :
class database
{
private:
node one;
node two;
node three;
well i tryed changing this around alot and this is the way i have it and got the least amount of errors i was trying to make a node but it really didnt work out.. this was just to get used to them no...
well can someone exsplan node and i did read the tutoreal about 5 times... but i dont get it... it usually helps me when i can see two examples so i can compare.... pls someone
ok im using the tutoral example and im tying to change it so i can get more tan justthis as an output and i want o make it like an array so i can use a cin to prompt for a number and have it go to...
i was really using it to get used to using a class but thanx
i have a string and its in red and it dosne get an input i just king of skips over it... : (
#include <iostream>
#include <cstring>
using namespace std;
int x;
class database