Search:

Type: Posts; User: gflores

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,490

    Creating a multi-column listbox?

    I would like to create a multi-column listbox that looks something like this... http://www.summware.com/Images/ListBox.jpg except it will have five columns with the ability to click on them to sort...
  2. Replies
    2
    Views
    1,442

    Extracting information from a website?

    I would just like to have a general idea on how one would do this. For example, given this website http://www.allmusic.com/cg/amg.dll?p=amg&sql=10:pwx8b5m4tsqe, how would a person extract the...
  3. Replies
    2
    Views
    2,552

    Ah yes... I made sure that all the other pointers...

    Ah yes... I made sure that all the other pointers were set properly and set the current's data members (left, right, data) equal to NULL and then deleted current. That seems to be working just fine....
  4. Replies
    2
    Views
    2,552

    Binary Search Tree deletion

    I'm writing an iterative delete method for my BST class. I'm a little confused on what to do when I've found the node and I want to delete it. I've developed this small code and I've removed the...
  5. Replies
    9
    Views
    1,284

    Would there be a significant difference with...

    Would there be a significant difference with Java? Also, so is C considered a low-level language?
  6. Replies
    9
    Views
    1,284

    So, essentially, it's a direct translation?

    So, essentially, it's a direct translation?
  7. Replies
    9
    Views
    1,284

    Computer Language question

    Ok, I understand that assembly language is considerably faster than higher level languages, but I don't understand why? Is it because it just has to pass through the assembler to generate executable...
  8. Replies
    9
    Views
    12,795

    3.) Yeah, that seems the best way (to return a...

    3.) Yeah, that seems the best way (to return a reference), but when I do, I get the error in the first post. I found one other place that doesn't return a reference, so maybe it's correct this way...
  9. Replies
    9
    Views
    12,795

    Ok, so I did a bit more researching online and I...

    Ok, so I did a bit more researching online and I added some more code.
    I've overloaded ++ and -- (both prefix) and != and added getData (thanks neandrake). I also got the for loop (which I had seen...
  10. Replies
    9
    Views
    12,795

    Ah, thanks. My professor gave me the code like...

    Ah, thanks. My professor gave me the code like that. It's working now, somewhat. However, he didn't tell us to overload the postfix (++). I'm assuming this is necessary in order to implement the end...
  11. Replies
    9
    Views
    12,795

    Linked List Iterator

    I know there must be lots of these posted, but I search on google and on here, and I'm still having trouble.

    We still haven't covered iterators fully and I'm having trouble with it. If anyone has...
  12. Replies
    12
    Views
    3,007

    Ah, got it. In fact, I think I had that error...

    Ah, got it. In fact, I think I had that error last week. Thanks.
  13. Replies
    12
    Views
    3,007

    Ok, I sort of understand, but could you give me...

    Ok, I sort of understand, but could you give me an example of when 2 files will be defined by the same name? Does this happen often with large projects?
  14. Replies
    12
    Views
    3,007

    I've never understood this... #ifndef...

    I've never understood this...


    #ifndef class_h
    #define class_h


    What exactly is it doing? Is it checking if there are other classes with the same name? Secondly, does the name matter?
  15. Replies
    3
    Views
    1,011

    What about the overloaded operators? Are they not...

    What about the overloaded operators? Are they not inherited? They're not working either.
  16. Replies
    3
    Views
    1,011

    Problem with inheritence... I think

    MyString class.h (base class)



    #ifndef MYSTRING_H
    #define MYSTRING_H

    #include <iostream>
    #include <string>
    #include "LoggableIFC.h"
  17. Replies
    20
    Views
    11,682

    You can post bad habits too, so that I know not...

    You can post bad habits too, so that I know not to do them. ;)

    Do you guys write like pseudocode or do UML designs (I hate them)? We started doing them and they are just very annoying. I guess I...
  18. Replies
    20
    Views
    11,682

    C++ Programming Tips

    I am looking for tips for programming. I am in the second course for C++ and am wondering if there are any tips or any good habits you guys have, especially for those that have coded for a job.
    ...
  19. Replies
    3
    Views
    1,003

    Two Object related questions

    How does one make an object null? I think in Java, one could merely do
    anObject = null; but I could be wrong. Basically, I have an array of objects and I want to delete one of the objects. I think...
  20. Replies
    14
    Views
    2,020

    I would also recommend to buying a book. I was...

    I would also recommend to buying a book. I was thinking I could get learn C++ using the internet, but purchasing a book is so much greater and convenient. I'm using Starting Out With C++ ($11 used)....
  21. Replies
    3
    Views
    3,368

    Ok, so it is just me! That's what it...

    Ok, so it is just me!



    That's what it says. Could it be where my files are saved? They are in C:\Program Files\Dev-Cpp\My Programs
    Alright, I'm going to sleep. I'm exhausted. Thanks for the...
  22. Replies
    3
    Views
    3,368

    Multiple source files for one program

    I've searched and read some of the topics. I've read this. and it's still not working. I can't seem to split up my program into 3 pieces. I've managed to split the program into 2, seperating the...
  23. Replies
    8
    Views
    5,899

    Well, thank you. That clears things up for me. I...

    Well, thank you. That clears things up for me. I was just a little confused since the bubble sort in the book uses a do-while loop, and on other sites, I saw 2 for loops. Thank you.
  24. Replies
    8
    Views
    5,899

    Bubble Sort... which type?

    Ok, I'm learning the bubble sort from my textbook, and it looks slightly different than the bubble sorts that I've seen online. Then, I read that there are different types of bubble sorts. However,...
  25. Thread: Now What?

    by gflores
    Replies
    7
    Views
    1,057

    I read this after googling. You can name...

    I read this after googling.


    You can name your variables a little bit better to represent the data they actually contain.
    Lastly, you can initialize the variable 'a' inside the for loop, like...
Results 1 to 25 of 32
Page 1 of 2 1 2