with my limited knowledge, it is the best way I can figure out how to give user control.
dae, wrote some code with a loop in it, but I need to study it more, and see what it's all about...
just...
Type: Posts; User: gothpunk
with my limited knowledge, it is the best way I can figure out how to give user control.
dae, wrote some code with a loop in it, but I need to study it more, and see what it's all about...
just...
When I was working on the other code and reading the other tutorial, I got some ideas for my first code, I revamped it, it works, but one glich I can't figure out. help any one?
#include...
// custom countdown using while
#include <iostream.h>
#include <stdlib.h>
int main ()
{
line6:
int n;
char x;
cout << "Enter the starting number > ";
cin >> n;
that's what looks different from here and jesse liberty's TYS C++ in 24 hours, he writes it as std::cout instead of cout
PS great answears, im learning alot
I am reading this tutorial, about.com's tutorial and have read jesse liberty's teach yourself c++ in 24 hours. they all have one problem, they don't/can't ansear questions.
for example:
using...
This is one of the most helpful forum boards there is!
anyways when you use fstream, does it have to be:
ofstream a_file ( "example.txt", ios::app );
or can it be:
im going back to the tutorial
ok im getting confused again
int is a function and bytes_read is the variable where readsome stored what it read to?
mathfan, that's a lot cleaner code! :)
there's some stuff im not familiar with though can you go in to more detail?
int bytes_read=b_file.readsome(str, 1024);
so will this code snippet...
the new code
#include <fstream>
#include <iostream>
#include <stdio.h>
#include <time.h>
I have been going through the tutorials and don't have much questions (actually I do, but I think they'll be answeared later, and I like finding out on my own)
with tthe code entered before, can...
how do I declare system?
std::system("date /t > example.txt");
std::system("time /t >> example.txt");
ok I 'll post question here
My ultimate goal is to re vamp shadow run, it's a great game!
but for now I need to know how to put together those little things I have learned and and I need a...
I was also wondering if anyone knows where I can get a complete list of functions, operators, and anything of that nature?
I am a newbie to programming
I have read books, and am following the tutorial hare at cprogramming.
unfortunately I tend to think a little to much on the strict guide lines side when I learn...