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...
Type: Posts; User: bomberto
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...
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...
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;
I got it to work. Thank you.
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...
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...
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...
Thanks for all the help. I got it working now.
[
Undefined first referenced
symbol in file
std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator[](unsigned int)...
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...
Thanks for all the help!
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...