Since 5/7/2012 11:35:34 AM, nvrbst has written 5 articles and participated in 15 conversations. nvrbst signature: nvrbst
nvrbst's articles:
Items(5) /1
(f)scanf Question - Grab String of Spaces1524 (4/7/2009 8:51:45 PM) comp.lang.c I have a file full of data that I want to tokenize. My function works as long as the data I want to grab doesn't have padded whitespaces, however, I want to preserve the padded whitespaces. Can I modify fscanf... NvrBst
C Static char* Array Question717 (4/6/2009 11:09:12 PM) comp.lang.c static char* DataThatCanChange[4] = { "Default S1", "Default S2", "Default S3", "Default S4:" }; I have the above. Sometimes the Default value is changed during the program, and I can change it d... NvrBst
Basic .H/.CPP Location Question336 (11/29/2008 12:03:40 AM) comp.lang.c++ This seems like a very basic question but I can't seem to google the answer. Should the .H and .CPP always be in the same directory? Or is it safe to put all my ".h" file in a "inc" folder, and all my .cpp fi... NvrBst
Const Multi-Dimentional Array Member Variable317 (11/12/2008 10:29:20 PM) comp.lang.c++ I'd like to do something like this but having a problem with the proper syntax in the constructor, maybe someone knows the correct syntax? ---MyClass.h--- #ifndef MYCLASS_H_ #define MYCLASS_H_ class MyClass {... NvrBst
std::deque Thread Saftey Situtation3615 (8/29/2008 10:49:36 PM) comp.lang.c++ I've read a bit online seeing that two writes are not safe, which I understand, but would 1 thread push()'ing and 1 thread pop()'ing be thread-safe? Basically my situation is the follows: --Thread 1-- 1. Read... NvrBst
nvrbst's replies:
Items(5) /1
std::deque Thread Saftey Situtation3615 (8/29/2008 10:49:36 PM) comp.lang.c++ I've read a bit online seeing that two writes are not safe, which I understand, but would 1 thread push()'ing and 1 thread pop()'ing be thread-safe? Basically my situation is the follows: --Thread 1-- 1. Read... nvrbst(20)
Const Multi-Dimentional Array Member Variable317 (11/12/2008 10:29:20 PM) comp.lang.c++ I'd like to do something like this but having a problem with the proper syntax in the constructor, maybe someone knows the correct syntax? ---MyClass.h--- #ifndef MYCLASS_H_ #define MYCLASS_H_ class MyClass {... nvrbst(20)
Basic .H/.CPP Location Question336 (11/29/2008 12:03:40 AM) comp.lang.c++ This seems like a very basic question but I can't seem to google the answer. Should the .H and .CPP always be in the same directory? Or is it safe to put all my ".h" file in a "inc" folder, and all my .cpp fi... nvrbst(20)
C Static char* Array Question717 (4/6/2009 11:09:12 PM) comp.lang.c static char* DataThatCanChange[4] = { "Default S1", "Default S2", "Default S3", "Default S4:" }; I have the above. Sometimes the Default value is changed during the program, and I can change it d... nvrbst(20)
(f)scanf Question - Grab String of Spaces1524 (4/7/2009 8:51:45 PM) comp.lang.c I have a file full of data that I want to tokenize. My function works as long as the data I want to grab doesn't have padded whitespaces, however, I want to preserve the padded whitespaces. Can I modify fscanf... nvrbst(20)