CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: phummon

Search: Search took 0.01 seconds.

  1. Using a string/enum to access int Matrix[X] ?

    Hola code gurus,

    I’m wondering if there’s a way to use a string to access a specific item in a matrix of int[X].

    I have a program which uses enums as iterators to reference a large...
  2. Re: Smart Accessor Function for Multiple Data Containers?

    Good advice, good brain food. Much obliged!
  3. [RESOLVED] Smart Accessor Function for Multiple Data Containers?

    Hi everyone,

    I’m Pete, moderately-experienced C++ user who is always looking for better ways to do things.

    Let me ask you guys about a problem I’ve scratching my head over lately. ...
  4. Re: One object accessing another's data?

    Thanks for the tips, the solution was to indeed double-check the include files and make sure they were in a logical order. I know that sounds simplistic, but sometimes you can only spot these...
  5. [RESOLVED] One object accessing another's data?

    Hi everyone,

    I'm a moderate-level C++ programmer who is a little rusty at the moment. I've got an object question which is driving me nuts. I'm sure this is a C++ 101 level question, but for...
  6. [RESOLVED] How to get execve() to take environment vars?

    Hi everyone,

    I'm a moderately experienced C coder trying to figure out the execve() command. Here's the basic problem:

    My program takes a command from the user, loaded into the string...
  7. Replies
    5
    Views
    7,267

    Re: Trying an HTTP POST req in C++

    Hi y'all,

    Thanks for the comments and feedback. To reply to some of the specific things you said...

    The raw code for my sockets is below. It compiles and runs just fine. I have no...
  8. Replies
    5
    Views
    7,267

    Trying an HTTP POST req in C++

    Hi everyone,

    I'm a moderately experienced C++ programmer who's trying to do a little socket work. Don't ask why, but I'm to write a program which, when activated, sends an HTTP POST request to...
  9. "Undefined Symbol" when writing socket code???

    Hi everyone,

    I have a "This should be simple!" kind of problem. I need to do a little socket programming on a SunOS machine
    . I went back to an old school assignment I did years ago,...
  10. Re: Can a Hash Table Track Multiple Items of Information?

    Hi everyone,

    Thanks for taking the time to read this post! I'll try to answer your thoughts as directly as I can...

    Lindley, the best example is this: Suppose my raw data is the amount...
  11. [RESOLVED] Can a Hash Table Track Multiple Items of Information?

    Hi folks,

    General question here... I'm writing a program which reads a ton of source data, crunches the numbers, and outputs a few nice summary reports. The source data is a lot of individual...
  12. Re: How to Parse 1000 Files, Skipping "Bad" Lines?

    Hi everyone, thanks for your advice. At this point, I suspect I am running up against a memory constraint of some kind. I'll retool the code to make sure I'm not littering the stack, hopefully that...
  13. [RESOLVED] How to Parse 1000 Files, Skipping "Bad" Lines?

    Hi everyone,

    I'm a moderately experienced C++ programmer working on code which must do the following:
    (a) Import data from a lot of little files
    (b) Load that data into various...
  14. Re: Weird problem with an array of vector's

    Hi everyone,

    Thanks for taking a look at this - I got a private reply explaining an efficient solution. (going to do the array as a global variable instead of an object) Thanks for your help!...
  15. Re: Weird problem with an array of vector's

    Hi, thanks for replying! ValRow contains all the values within one line (or "row") of the file. Essentially, I am reading one line of the file, loading it into ValRow, and then tokenizing the...
  16. [RESOLVED] Weird problem with an array of vector's

    Hi everyone,

    I'm a moderately experienced C++ programmer and a network engineer. I’m having a weird problem with using an array of vector<char *>, which I’ve never tried to work with...
  17. Re: Using Variables for Intelligent Accessor Functions?

    Wow! Great advice! This is exactly what I was hoping to learn, many many thanks!!!

    Yours,
    -Pete
  18. [RESOLVED] Using Variables for Intelligent Accessor Functions?

    Hello everyone,

    I’m an intermediate-level C++ programmer grappling with a fairly rudimentary problem. I’m creating a C++ object called FruitCart; FruitCart contains a number of integers...
  19. Replies
    2
    Views
    6,381

    Build an intelligent CSV parser?

    Hi everyone,

    I'm a little new to C++, so I hope I'm posing a relatively simplier problem here... Essentially, I am writing a program which will input a CSV file with multiple lines of data, 30...
Results 1 to 19 of 19





Click Here to Expand Forum to Full Width

Featured