im having some troble declaring strings in Visual Studio .Net, could some one please give me the standard form for this in .Net. Im using the strings lib. any help would be great... thanks in advance
Type: Posts; User: Skeptic
im having some troble declaring strings in Visual Studio .Net, could some one please give me the standard form for this in .Net. Im using the strings lib. any help would be great... thanks in advance
my title is supposed to be zip or cab not zip of cab:)
Skeptc
i was wondering if some one could give me a quick run down on how i would read a image from inside a cab file, i want to make a program that randomly pulls a image from inside the zip but im not sure...
void doesnt do anything, thats why its void
\\ doesnt seem to work the program still waits till the first is closed then runs the second
is there a way to call two programs at the same time, with out waiting for the first one to close?
i should change my name to stupid, i had the wrong slashes.
well i tried things like
system("c:\mydir\myprogram.exe")
but it didnt work
i know i know, how to run a exe from inside a program is in the faq but i need to know how to run one that is in a different directory than the one the program is running in. Im using the system()...
why shouldnt my question be answered?
i need to run a windows program from inside another program im writing, but i have no clue how to do that. Thanks for the help.
Skeptic
it would be alot easer to sort them if they were in a struct or a class so when you sort one array the other array is in the same order, so if you sort it by high the the low and the name go with it....
You could also try something like this:
#include <ctype.h>
ifstream file;
while (isalnum(file.peek()) {
// Read in data ...
// blah blah blah
recursion is just a function that calles itself untill a argument is met
void function(int number)
{
if(number<=1)
return;
function(number/2);
make a array of pointers (Ex: int **array;) then allocate the pointer (Ex: array=new int*[7];) this will make a array of pointers to a array of pointers(i hope you understand its a tuff subject) you...
nice code i guess, is there something wrong with it? You may want to add header files. Hope this helps.
Skeptic
the reason that your skipping the name the second time through has to do with the getline function some thing to do with getting all 15 characters, your getting a number for the Grade output because...
Sone thing like this will work but to get a more random number you should really use a time seed "srand(time()0;" under the stdlib.h and time.h headers
.code
int select(int a, int b, int c)
{...
You might also want to try the getline function if working with a input file "infile.getline(variable,4,'$')" this will read "none" into variable for 4 spaces and stop at the $ sign. You could also...
thanks for the help, much need:)
can some one give me some hints on how to convert command line arguments to long int's?
Skeptic
Thanks for all the help it works now...
-Skeptic
const float PI = (float) 3.1416
flaot radius = 0.0;
float newRadius = 0.0;
well the main thing i can see that you might need to add is a ; after 3.1416
const float PI = (float)...
:confused:
if you dont mind me asking what school do you go to? My class is doing that same type of program.....
what you need to do is make a header file to declare your class, class...