How exatly, using a char?
Type: Posts; User: Xinco
How exatly, using a char?
Is it possible to declare a variable with the name of the value of another variable(a string). For example have a string containing the word 'abc' and then declare a variable with the value of string...
Sorry, its for another part of the DLL, but im leaving that until i've got this bit sorted.
That still returns the same error. Might the error lie in the compiler?(dev-c++)
Thats an app, I need the code for a programming the DLL. Heres what I got:
DLL.h: (Note, this is header)
#ifndef _DLL_H_
#define _DLL_H_
#define export extern "C" __declspec (dllexport)
But I need it to be written 1 character at a time so I can change the ascii value. Sort of like how encryption works (I think) Unless it is possible to change the ascii value of a whole line by a set...
Ok, i found the answer but now its saying 'invalid conversion from 'char' to 'const char''. I thinks its because im using ifstream read_file(argumen0); but I need argument0 to be an argument so how...
Ok, but how would I do that in a DLL. It comes up saying 'ofstream' undeclared
Hi, Im sorta new to c++, so i might need things explaining but what is the best way of reading a txt file, one character at a time and writing each character to a different file??
Ok, I got the .a libs but I dont get the bit about the linking.
Start>Run>cmd. When I type the first lines from
'rem filename: convert.cmd
set path=path_to_your_mingw/bin_directory;%path%
for %%f in (*.lib) do reimp %%f
rem the following are optional; omit...
Yeah, I tried searching before and found that. Followed it all and it still doesn't work. It says stuff like %%f not expected.
My computer wont allow me to use the reimp tool to convert the directX SDK libs to mingw compatible ones. For some reason cmd wont recognise reimp. Could anybody post a downloaded to the converted...
I was just wondering, what would be the best way of converting a char variable (made up of numbers only, up to three digits) into an int variable. Help appreiciated
I meant an app(.exe) where the user enters a variable and the app saves this variable to a .dat file
Does that work in an app?
I've been looking at lots of examples, but i can't seem to write variables to a .DAT file in Dev-c++. Can anyone show me an example on hoow to do this?
Yep, tried it. It still only displays random characters.
Ok, tried it but it is displaying random characters ( ^^6r )
Anybody know if that will work?
So, your saying if i make A an array, and then get the variables i want to draw to the screen into it. Then draw the array??
Hi! Does anybody know how to display a variable onto a bitmap using textout_ex(...); I've tried using
char a*;
int b = 5;
sprintf(a, "%i", b);
textout_ex (buffer, font, a, 0, 0,...