Search:

Type: Posts; User: mrcheesypants

Page 1 of 2 1 2

Search: Search took 0.01 seconds; generated 54 minute(s) ago.

  1. Ok you're developing some bad habits here and I'm...

    Ok you're developing some bad habits here and I'm going to give you some advice to fix them as well as the code.
    1)When debugging, try not to do random things to fix code This is especially hard for...
  2. Replies
    41
    Views
    4,401

    You're probably better off using just a character...

    You're probably better off using just a character pointer.


    char *a1 = "Available";
    printf("%s\n",a1);
    if(1){
    a1 = "N/A";
    }
    printf("%s\n",a1);
  3. Replies
    14
    Views
    1,608

    Yeah you answered what I was asking. My...

    Yeah you answered what I was asking. My communication skills are lacking. Thanks again for your help it has been very insightful.
  4. Replies
    14
    Views
    1,608

    Ah thanks for the info! I don't understand...

    Ah thanks for the info! I don't understand dynamic memory yet but wouldn't my same function cause a memory link no matter what size string s is because it looks for the '/0'? Or is the '/0' added...
  5. Replies
    14
    Views
    1,608

    Ok for exercise 5-3 in K&R (which is write a...

    Ok for exercise 5-3 in K&R (which is write a strcat function using pointers) I got


    #include <stdio.h>

    void stcat(char *s, char *t);
    int stlength(char *s);

    int main(){
    char a[] =...
  6. Replies
    14
    Views
    1,608

    Odd, it looks just like that and it still...

    Odd, it looks just like that and it still crashes. My computer does act weird but I wouldn't think that it would cause a program like this to crash...

    edit: Ok had to do something with projects...
  7. Replies
    14
    Views
    1,608

    Yes tried your advice and the program still...

    Yes tried your advice and the program still crashes.
  8. Replies
    14
    Views
    1,608

    The exercise says to use a pointer string. And...

    The exercise says to use a pointer string. And sorry I didn't mean crash computer I meant crash the program.
  9. Replies
    14
    Views
    1,608

    Learning Pointers

    Long story short I'm on spring break and I've decided to spend my time figuring pointers out. Since I'll probably have a lot of questions on the subject I decided to make one thread and post all my...
  10. Replies
    13
    Views
    2,279

    Before you go into programming of any language...

    Before you go into programming of any language read How to Design programs (free web version at www.htdp.org.) Yes, you might be anxious to code in C/C++ but trust me when I say it will make the...
  11. Replies
    153
    Views
    680,521

    Sticky: I know it is not a c++ book, but it is a damn...

    I know it is not a c++ book, but it is a damn good programming book that every hobbist coder needs to read: How To Design Programs. There is a free web version www.htdp.org. (I actually got the book...
  12. Replies
    18
    Views
    4,518

    Ok guys, thanks for the help. Before I hear...

    Ok guys, thanks for the help. Before I hear anymore it sounds like I should post the concepts I atleast think I understand:

    Data types
    Functions
    Pointers, addresses and arrays (about 3/4...
  13. Replies
    18
    Views
    4,518

    WHEN to start game programming

    Ok first of all I know you guys have been getting a bunch of "where do i startz to program my game?" threads this week so if this gets too close to that, forgive me. I am going to STFW for when I do...
  14. Replies
    13
    Views
    1,519

    If your going to get an IDE go with either Dev if...

    If your going to get an IDE go with either Dev if your cheep like me or VS if you have some cash to spend. Since your starting out I suggest you give Dev a try and see how you like it.
  15. Replies
    15
    Views
    4,703

    Merry Christmas to all!

    Merry Christmas to all!
  16. Heh heh that would help.... :eek:

    Heh heh that would help.... :eek:
  17. Need suggestions for more randomness

    Hi, I'm working on a blackjack program and of course I need a random card draw function. Now the problem is I don't have one, it's I need to improve it

    #include <iostream>
    #include <cstdlib>...
  18. Replies
    5
    Views
    1,430

    This (http://wi-ep.com/img/products/63.jpg) will...

    This will solve the problem you are about to have.
  19. Replies
    2
    Views
    977

    Thanks again Daved. I'll post here again if I...

    Thanks again Daved. I'll post here again if I have anymore problems.
  20. Replies
    2
    Views
    977

    Yet another array question

    Ok I have spent hours trying to debug, STFW and the forums, looked at my beginers book until finally I decided to give up and harass you guys with another array question. You see I am writing my...
  21. So im assuming that the number I got was the...

    So im assuming that the number I got was the memory address then?

    EDIT: wait what does the "0x" mean? 0 times that hex number?
  22. Displaying an array (concept not a how to)

    The other day I decided to start a program that solves soduku puzzles on the account that I had just learned C++ and I thought it would be a good "out of the books" exercise. While writing some...
  23. Replies
    2
    Views
    2,014

    Finally figured it out.

    Finally figured it out.
  24. Replies
    2
    Views
    2,014

    Trouble installing Qt3 from book Cd

    Bought a book called C++ GUI Programming with Qt3 by Jasmin Blanchette and Mark Summerfield and it comes with a CD that has Qt3. Prior to the installation I used Dev and since I had to install...
  25. Replies
    15
    Views
    2,601

    I know a software engineer that works for burger...

    I know a software engineer that works for burger king....
Results 1 to 25 of 34
Page 1 of 2 1 2