Search:

Type: Posts; User: bomberto

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,367

    posix thread help

    I am working on a producer/consumer problem and need a little help on calling my functions in a posix thread. What would be the correct syntax for calling producer?

    Nothing seems to be working for...
  2. how to I change the value of what the pointer is...

    how to I change the value of what the pointer is pointing to?
    In my program I want to use the one variable as a sort of counter. when i try to increment it I am just messing up the the pointer.(I...
  3. Acessing a struct after passing to a function

    Hello to everyone again.
    how to I access my struct variables after i have passed it to a funtion?

    I made this struct.



    struct structy
    {
    long * one;
  4. Thread: lstat in unix

    by bomberto
    Replies
    2
    Views
    2,998

    I got it to work. Thank you.

    I got it to work. Thank you.
  5. Thread: lstat in unix

    by bomberto
    Replies
    2
    Views
    2,998

    lstat in unix

    I am trying to get the size of a file in bytes using Lstat() in unix. I am getting this error when i try to print out the value "stat.st_size" which should be where the size in bytes is stored...
  6. calling a function with a pointer to a struct

    I am trying to wrap my noodle around the whole pointer concept here. I want call the function fun1 with a pointer. What syntax do I use? What I doing wrong?

    I get this error when I try to...
  7. Replies
    2
    Views
    871

    More Unix Woes

    I am writing a program that counts the number of words in a text file.
    How would I go about useing a command line argument as the text file name that will be opened? Right now i am opening a file...
  8. Thread: Unix problems

    by bomberto
    Replies
    9
    Views
    1,987

    Thanks for all the help. I got it working now.

    Thanks for all the help. I got it working now.
  9. Thread: Unix problems

    by bomberto
    Replies
    9
    Views
    1,987

    [ Undefined first...

    [
    Undefined first referenced
    symbol in file
    std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)...
  10. Thread: Unix problems

    by bomberto
    Replies
    9
    Views
    1,987

    Unix problems

    Hi everone I am new to C++ programming in Unix and have been getting some strange errors. I can compile this code fine in visual C++ on my windows machine, but when I try to compile on a unix...
  11. Replies
    9
    Views
    1,348

    Thanks for all the help!

    Thanks for all the help!
  12. Replies
    9
    Views
    1,348

    Question for the working programmers

    As part of a course assignment, I am learning how to use the different types of professional writings that are pertinent to my desired field of employment. I am interested in learning what types of...
Results 1 to 12 of 12