Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 24 of 24
Search took 0.01 seconds.
Search: Posts Made By: l2u
Forum: C++ Sep 23rd, 2007, 9:13 PM
Replies: 9
Views: 337
Posted By l2u
You can use boost::bind.

You can use boost::bind.
Forum: C++ Sep 2nd, 2007, 9:37 AM
Replies: 3
Views: 169
Posted By l2u
I think it should work if you do something like...

I think it should work if you do something like this:

typedef enum TEST_ENUM_t {
TEST0 = 0,
TEST1,
TEST2,
TEST3
};
Forum: C++ Aug 16th, 2007, 7:57 PM
Replies: 6
Views: 209
Posted By l2u
Actually I would like to store handlers in...

Actually I would like to store handlers in containers (boost.bind), but I thought it would be the best to store them in new templated object.

I'd like to be able to...
Forum: C++ Aug 14th, 2007, 10:06 PM
Replies: 6
Views: 209
Posted By l2u
Yeah but what if I dont know I want different...

Yeah but what if I dont know I want different types, not just int?
Maybe boost::any, boost::variant of anyone knows of better approach?
Forum: C++ Aug 14th, 2007, 9:00 PM
Replies: 6
Views: 209
Posted By l2u
template specialization problem

Hello

I would like to do:

Code:

std::list<some_templated_class> _list;
_list.push_back(some_templated_class<some_object>(arguments));

but my compiler wont allow me to compile this. I get error:
Forum: C++ Jul 19th, 2007, 4:24 PM
Replies: 4
Views: 151
Posted By l2u
In VC 2005 right click on project's name ->...

In VC 2005 right click on project's name -> Linker -> Input -> Additional dependencies and select the library.
Forum: C++ Jul 17th, 2007, 8:44 PM
Replies: 8
Views: 255
Posted By l2u
Class itself still holds some data that is needed...

Class itself still holds some data that is needed by parser class.
And I dont like having global objects/functions.
Forum: C++ Jul 17th, 2007, 3:07 PM
Replies: 8
Views: 255
Posted By l2u
This would take too much memory. parser class has...

This would take too much memory. parser class has some data that doesnt need to be multiplied and it has only one function that is being called with different arguments.




How should I construct...
Forum: C++ Jul 16th, 2007, 4:05 PM
Replies: 8
Views: 255
Posted By l2u
programming design

Hello

I have a programming design question..
Lets say I have 3 classes like below:

class parser {
};

class user {
};
Forum: C++ May 8th, 2007, 4:09 PM
Replies: 6
Views: 218
Posted By l2u
I hope there will be something in boost soon.

I hope there will be something in boost soon.
Forum: C++ May 8th, 2007, 11:03 AM
Replies: 6
Views: 218
Posted By l2u
advanced user output

Hello

I want to allow user to use advanced output feature with my application. In other words I want to have some simple scripting language inside c++ application so that user could call c++...
Forum: C++ Apr 8th, 2007, 8:01 AM
Replies: 7
Views: 217
Posted By l2u
You should go for socket wrapper.. It will be the...

You should go for socket wrapper.. It will be the best and easiest way to make your program portable and efficient.

I highly recomment asio socket wrapper (also available in boost).
Forum: C++ Mar 28th, 2007, 9:05 AM
Replies: 5
Views: 137
Posted By l2u
MSVC question

Hello..

I'm working on a solution that has 2 applications that depend each on another. (2 programs)

What I want to do is a multiproject inside a solution (more projects). Im unsure how to do this -...
Forum: C# Mar 23rd, 2007, 3:45 AM
Replies: 4
Views: 193
Posted By l2u
Hey guys Heres the command being...

Hey guys

Heres the command being built:

cmdUpdateReturn = new OleDbCommand("UPDATE tblBarrowed SET DateRetured =@getDateRetured, DelayedDays =@getDelayedDays, Fines =@getFines, Notes =@getNotes,...
Forum: C# Mar 19th, 2007, 1:02 PM
Replies: 4
Views: 193
Posted By l2u
sql query

Hello..

I use a class OleDbCommand

When my program calls cmdUpdateReturn.ExecuteNonQuery(); program crashes.
cmdUpdateReturn is an object of OleDbCommand.

How can I print sql query string before...
Forum: C# Mar 19th, 2007, 1:01 PM
Replies: 4
Views: 227
Posted By l2u
Thank you very much milot! Actually I didnt...

Thank you very much milot!
Actually I didnt expect anyone to help with this one :)
Thanks again!
Forum: C# Mar 17th, 2007, 8:29 AM
Replies: 4
Views: 227
Posted By l2u
management system problem

Hello..

Im in urgent net to compile some Libary Management System written in .NET.
The code seems very good, but I'm facing some problems I cannot solve/figure out myself, because I dont have any...
Forum: C# Mar 16th, 2007, 4:21 PM
Replies: 2
Views: 119
Posted By l2u
newbie question - compiling

Hello..

What do I need to compile .NET project?

Can I do it with MSVC 2005?
If no, what would you recomment? MSVC .NET?
Forum: C++ Mar 13th, 2007, 5:11 PM
Replies: 6
Views: 177
Posted By l2u
Whats the difference betwen stream rdbuf and...

Whats the difference betwen stream rdbuf and stream read?
What about boost::iostream ?
Forum: C++ Mar 13th, 2007, 4:10 PM
Replies: 6
Views: 177
Posted By l2u
Because:

Because:
Forum: C++ Mar 13th, 2007, 3:48 PM
Replies: 6
Views: 177
Posted By l2u
large file reading optimization

I'm working on a code that should be able to read text file on the fastest way..

As some of you recommented its the best to use read() instead of getline() and open text file in a binary mode..

I...
Forum: C++ Mar 7th, 2007, 7:25 AM
Replies: 3
Views: 124
Posted By l2u
Hey Grumpy! Thanks for your reply! I noticed...

Hey Grumpy!

Thanks for your reply!

I noticed most of the professional programs (even boost libaries) dont care about that.. They just use std::string instead.. Even stl exceptions (for instance...
Forum: C++ Mar 6th, 2007, 6:22 AM
Replies: 3
Views: 124
Posted By l2u
exception object and its members

Hello..

I read its not good to have members like std::string inside exception class, because if their creation fails it could lead to program termination.
I need to inform user/me about program...
Forum: C++ Mar 3rd, 2007, 4:04 PM
Replies: 2
Views: 183
Posted By l2u
exception handling

Hello..

I have some questions about exception handling in c++..

I know its the best to throw object when exception occurs and I wonder what is the best way to do this.
I was thinking about deriving...
Showing results 1 to 24 of 24

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:27 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC