Search:

Type: Posts; User: converge

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,403

    Actually, I have already perused said website. ...

    Actually, I have already perused said website. There is a member value in the SCROLLINFO structure that I think applies to what I'm trying to do:

    nPage
    Specifies the page size. A scroll bar...
  2. Replies
    4
    Views
    1,403

    Scroll bar question

    Hi guys,
    I'm writing an application, and I have a question about scroll bars. I would like to know how to increase the size of the actual scroll bar, meaning the little box that you drag around to...
  3. Replies
    4
    Views
    1,071

    Doh, I feel stupid now. Thanks for your help.

    Doh, I feel stupid now. Thanks for your help.
  4. Replies
    4
    Views
    1,071

    Actually, I'm not using args to main. It's a...

    Actually, I'm not using args to main. It's a simple shell program , and command is a struct that holds the parsed command line that was entered by the user. I changed it a little bit, so I use this...
  5. Replies
    4
    Views
    1,071

    Why doesn't this work?

    When I run this, the 1st print statement prints out a >, yet the if gets evaluated to false and the inside print does not execute. wtf?



    printf(command.argv[argc1 - 2]);
    ...
  6. Replies
    2
    Views
    823

    One more string question

    Say I had a string like this: "blah x blah". How could I remove the x, so it was just "blah blah"? Thanks.
  7. Replies
    1
    Views
    931

    One more quick question...

    How can I remove the last character of a string?
    TIA
  8. Replies
    2
    Views
    834

    Quick string question

    How could I figure out if the last character in a string is a '&"? I've looked through all the string utilities, and I can't figure out an easy way to do this.
    Thanks
  9. Replies
    4
    Views
    1,625

    Ok, if I wanted a lesson in how to write C, I...

    Ok, if I wanted a lesson in how to write C, I would have asked for it. :rolleyes: Now, does anyone know why I'm getting these errors?
  10. Replies
    4
    Views
    1,625

    Errors from STL

    Like the title says, when I try to compile my program, I get errors from inside the list.h code, for the list STL. Here is the code in question:

    #include<stdlib.h>
    #include<stdio.h>...
  11. Difference between macro and pass by reference?

    Like the title says, what is the difference between using a macro, which just textually substitutes whatever, as opposed to just writing a function with reference parameters? I know there must be a...
  12. Replies
    2
    Views
    973

    Quick string question

    Hi all,
    I have a string that contains a couple words, followed by a number. I need to figure out how to extract that number, and put it into an int variable for computational purposes. I tried...
  13. Replies
    1
    Views
    1,086

    File I/O question

    Hi, I am having some trouble reading a file the way I would like. What I'm trying to do is extract only the 1st few lines from a file. Here is my current code:

    int main(int argc, char** argv)
    {...
  14. Replies
    3
    Views
    6,431

    Yea, thats what I thought too. However, my...

    Yea, thats what I thought too. However, my professor insists there is a difference, and he wants us to figure it out.
  15. Replies
    3
    Views
    6,431

    Question about C# scope rules

    I was wondering what the fundamental difference is between C# scope rules of local variables and Java's. I know there is a difference, but I can't figure it out. Here is the scope rule from the C#...
  16. Replies
    1
    Views
    1,303

    Cool, thanks a lot, that seems to work a lot...

    Cool, thanks a lot, that seems to work a lot better. Now, how could I allocate memory for all of the argv vectors(i.e. argv[2], argv[3], etc...), without using a loop if possible?
  17. Replies
    1
    Views
    1,303

    Parsing problem

    Hi everyone, I'm currently working on a project in which I have to write a basic UNIX shell. My problem is with parsing the command line. I am using strtok to retrieve the first command (the...
  18. Re: Anybody feel liking writing a program for a stressed out college kid?

    No, I don't really expect to get it done for me, but I figured its worth a try. I know I should do it myself, and I would like to. But I have so much **** going on in my life right now, that I just...
  19. Anybody feel liking writing a program for a stressed out college kid?

    Allright, I already know this is a ridiculous request, but I figure it's worth a try. I'm a student at the University of CO, Boulder. My major is not Comp. Sci, but I have to take a few CS classes...
Results 1 to 19 of 19