http://www.phrack.com
http://www.linux.com/
http://www.google.com/search?hl=en&q=preproccessing+tokens+C
Type: Posts; User: Tyrael
http://www.phrack.com
http://www.linux.com/
http://www.google.com/search?hl=en&q=preproccessing+tokens+C
I wrote a basic tutorial on Hex and Binary not too long ago...
http://cyber.homeunix.net/pdf/computer-stuph/hex-dec-bin.pdf
hope that helps ^_^
btw: I was the original poster, i accidentally typed Lynux instead of Tyrael at login.
//This is the header file to Initialize the function rando()
#include <time.h>
#include <stdlib.h>
rando(int x);
rando(int x)
{
srand(time(NULL));
return rand() % (x+1);
}
I dont have a problem with C++ on Windows, but I have a problem with Windows. And besides this was a factual post not a "help" post.
Well in C/C++ for UNIX systems it was easy!
all of the devices are stored in /dev
so all I did was open streams to all of them, OR took some of Linus's code and added to the hardware functions...
...
LOL,
Ur a newbie and expect to be able to do all of this before understanding the language...
Well, for the menu system a switch case would be the best
Password Encryption and stuph can be...
Use [ code ]
tags please...
Then I will be able to help you.
i was trying to open a file uing ifstream and storing it as char str
I was told to use get, but it doesnt work
The File has multiple lines
like
hi
hello
hi
actually
do this
(with fstream)
fopen("c:\\wherever\\filename.txt");
// because of the \ command the processor will think u are typing
// a new line if it is \n or something else so \\ is...
Okay, here is the problem:
I want to open a file with the code:
#include <fstream.h>
int main()
{
ofstream print; // stream variable declaration
lets say u have the array
[ 3 4 5 ]
and u want to change the 3 to a 4
or the first integer to a unit higher
[ 4 4 5 ]
a longer array is
[ 1 2 3 4 5 6 7 8 ]
lets say u have the array
[ 1 3 4 5 7 ]
and u wanted to turn the first int into a number higher
[ 2 3 4 5 7 ]
and
[ 3 5 6 ]
[ 4 5 6 ]???
If possible use only if statements
keep functions...
Can u tell me or some sample code how to encrypt something
please put it (if possible) in this format
Well I wanted to write a function for a library of Unix Made Functions and encryption thats...
Alright I took that test on C++, I did quite well expcept
WTF is 7/9*9 = 0 in C/C++
I compiled this:
#include <iostream.h>
int main()
{
int a = 7/9*9;
Umm, I have been programming OpenGL and Windows for at least 9 Months and I am very Excellent at it... I am currently working on a game called Dark Scape...
Read about it earlier in the...
Sure so far there is, that i know....
iostream.h
io.h
ostream.h
istream.h
math.h
stdio.h
stdlib.h
conio.h
read subject of reply