Search:

Type: Posts; User: Skeptic

Search: Search took 0.01 seconds.

  1. Thread: Strings

    by Skeptic
    Replies
    3
    Views
    824

    Strings

    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
  2. Replies
    2
    Views
    1,041

    my title is supposed to be zip or cab not zip of...

    my title is supposed to be zip or cab not zip of cab:)

    Skeptc
  3. Replies
    2
    Views
    1,041

    Using files in side a zip of cab

    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...
  4. Replies
    7
    Views
    1,067

    void doesnt do anything, thats why its void

    void doesnt do anything, thats why its void
  5. Replies
    9
    Views
    1,342

    \\ doesnt seem to work the program still waits...

    \\ doesnt seem to work the program still waits till the first is closed then runs the second
  6. Replies
    9
    Views
    1,342

    is there a way to call two programs at the same...

    is there a way to call two programs at the same time, with out waiting for the first one to close?
  7. Replies
    9
    Views
    1,342

    i should change my name to stupid, i had the...

    i should change my name to stupid, i had the wrong slashes.
  8. Replies
    9
    Views
    1,342

    well i tried things like ...

    well i tried things like

    system("c:\mydir\myprogram.exe")

    but it didnt work
  9. Replies
    9
    Views
    1,342

    exes in other directories

    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()...
  10. Replies
    3
    Views
    1,518

    why shouldnt my question be answered?

    why shouldnt my question be answered?
  11. Replies
    3
    Views
    1,518

    running another program

    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
  12. Replies
    3
    Views
    1,112

    it would be alot easer to sort them if they were...

    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....
  13. Replies
    3
    Views
    913

    You could also try something like this: ...

    You could also try something like this:

    #include <ctype.h>

    ifstream file;

    while (isalnum(file.peek()) {

    // Read in data ...
    // blah blah blah
  14. Thread: recursion?

    by Skeptic
    Replies
    5
    Views
    1,048

    recursion is just a function that calles itself...

    recursion is just a function that calles itself untill a argument is met




    void function(int number)
    {
    if(number<=1)
    return;
    function(number/2);
  15. Replies
    2
    Views
    1,745

    make a array of pointers (Ex: int **array;) then...

    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...
  16. Nice

    nice code i guess, is there something wrong with it? You may want to add header files. Hope this helps.

    Skeptic
  17. Replies
    7
    Views
    3,997

    the reason that your skipping the name the second...

    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...
  18. Replies
    2
    Views
    1,949

    Sone thing like this will work but to get a more...

    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)
    {...
  19. Replies
    6
    Views
    1,347

    You might also want to try the getline function...

    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...
  20. Replies
    3
    Views
    1,298

    thanks

    thanks for the help, much need:)
  21. Replies
    3
    Views
    1,298

    command line agr

    can some one give me some hints on how to convert command line arguments to long int's?

    Skeptic
  22. Thanks for all the help it works now... ...

    Thanks for all the help it works now...

    -Skeptic
  23. Replies
    6
    Views
    1,807

    const float PI = (float) 3.1416 flaot radius =...

    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)...
  24. Thread: Classes

    by Skeptic
    Replies
    4
    Views
    921

    :confused: if you dont mind me asking what...

    :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...
Results 1 to 24 of 24