you CAN do it because i have seen a stepper motor control porgram written in C++ [soz couldnt leech 4 u :D], and also PHP - which i believe is like macros that do certain things in c++ you can do $fo...
Type: Posts; User: D3T
you CAN do it because i have seen a stepper motor control porgram written in C++ [soz couldnt leech 4 u :D], and also PHP - which i believe is like macros that do certain things in c++ you can do $fo...
Can someone please tell me how the hell header files are structered... what im trying to achieve is the time as in what time it is wen the time functino is called...
ie...
cout << time();...
dunno..
maybe you could try using
#include <iostream.h>
instead of just <iostream>
try here
http://www.traverse.com/people/poinsett/bcbcomm.html
I searched for "Serial port header file c++" at google and this was the top of the list
... Had a look.. it uses serial port...
struct somestruct {
int i = 1;
int j = 3;
}
struct somestruct :: anotherstruct {
int k = 2;
int l = 4;
anotherstruct { cout << i << k << j << l << ".";
}
Hmms
I was gunna suggest somthing like
[i use borland turbo c++ 3.0 for dos]
#include <iostream.h>
#include "what_ever_else_u_need.h"
So sort of like quake 3... where the engine extracts all teh .pk3 files and uses tem to run the game... so u can 'simply' make mods by changing the resource (in this case pk3) files?
Try making a simple money manager thing... i did.. learned a lot.. im a total newbi at c++ but now at least im a semi proficiant newbi...
... dunno what u wanna put in yours
in mine i put a way...
Can you do that repeatedly?
like
backgroundcolor(BLACK);
clrscr();
textcolor(RED);
cout << "red";
textcolor(BLUE);
for the push any key to continue..
#include <conio.h> /* You will need this for getch(); */
#include <iostream.h> /* and this for cout . you could use printf */
{
...
cout << "Push any key...
.. No really.
This is really gunna sound a bit set up, bu:
I found a copy of Borland C++ for DOS 3.0 - that my cuz left behind last time he was down here.
Ok, so I'll grant that the software...
..Hahaha. No really.
Well. Im looking to get into C, (C++ maybe to), but out of the tutorials i have seen so far, few have i been able to understand (they tend to drop you straight in at the deep...