User Profile
Collapse
-
.a Files.
So, i was looking through the c++ standart header, and the thing i've noticed, those only contain the declarations of functions. Ok, but where are the definitions? For example, i wanted to see what's "inside" the system() function, how it works etc, etc... So, i noticed those .a files. So, two questions i'd like to ask: What are .a files, what they contain, and where are the "insides" of those std functions? -
Imitating key input from keyboard.
Well, the title isn't quite correct, but that isn't a problem...
Well, how could i write a prog which will "emulate" pressing the keyboard buttons?
For example, that will wait some time, emulate "Alt" and "Tab" keys, then wait some time, then 'pretend" to press another button? -
I'm still a newbie, so could you please make a sample code? I can only read things from file usingCode:File.read((char*) &b, sizeof(b));
Code:file << " ";
-
Thanks for this, Sicarie :D.
Yet, there are some other questions....
Is there any other way to delete/rename than using system commands?
And, could you explain to me, how to read only specified part of the file (that's the first question i have asked :) ), if i want to get only one thing from the file?...Leave a comment:
-
Sorry if my post caused "confusion" , but the file is a .txt.
Sicarie ->
Not much, only creating and reading the file, writing into file and reading out of file in specified "order". And I'm using dev-cpp, under windows XP.Leave a comment:
-
A few questions about files..
Well, i still don't understand some things about files...
For example, i have created a file, with following structure ->
int,int,float, some class, some other class....
And, i open that file to read, and i want to load only the some_class. So, how can i "skip" the other unneded variables? I have looked for it in Jesse Liberty's "Teach yourself c++ in 21 days.", but i didn't understand, as i haven't understood... -
Thanks for this, i'd give it a try , but is there anything that can be done without the visual c++? Just in a console (using dev-c++ as ide)?...Leave a comment:
-
How to send an email?
Hello!
Well, i want to send an email to some specified adress using c++. Is there any function that sends email (with attachements, or just a plain simple text) to specified adress? -
How to start a program using another program?
Well...
So, i have a program. A normal program, which does something, and so..
and i have another program, which wants to run the first program....
So, there are 2 questions about that problem ->
1) How can i run the program using another program? Is there anything like runProgram(Dire ctory,Name.exe) ?
2) Programs usually returns the 0 value when they end. So, can i, for example, put something like
... -
-
A problem with an array of unknown size.
Hello!
So, i have this type of a problem -> i have wrote a function that sorts the array in ascending order. the beggining looks like this ->
Code:template <typename T> void PosortujBabelkowoTablice(T& Tablica, int i) { // and the rest of a code....
No activity results to display
Show More
Leave a comment: