Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF C Language


Re: C or C++  

In my opinion, you should learn them both. Depending upon the situation, problem, or task, you may need to encounter both. Learn all the programming languages you can, and you will find one that best suits your needs for your ... Continue Reading
Views : 40
Monday 26th of November 2012

need help really and badly  

i need to do a project in vb for my degree any body ther who can realy help me. i mean having the source for !!!... Continue Reading
Views : 143
Monday 26th of November 2012

Typecasting goes the wrong way  

Hi everybody, I'm trying to build an test-app to check out typecasting. I want to typecast from a bunch of u_chars (unsigned chars) to an structure i created. Here's the code: //////////////////////////////////////////////////////////////////////////////////// #include $PHXLESSiostream$PHXGREAT ... Continue Reading
Views : 122
Monday 26th of November 2012

Can't use activex control inside Cdialog and thread  

Hi, I would like to get use my activex control inside Cdialog in beginthreadex When I used Cdialog and activex control , everything is fine but when i put it inside thread (beginthreadex), it doesn't work anymore. I can use ... Continue Reading
Views : 158
Monday 26th of November 2012

How to use objectiented programming.  

I have been writing some large programs and games lately and I have had people advise me that I need to write more object oriented programs. I also I understand the concept and have written some small programs to understand ... Continue Reading
Views : 153
Monday 26th of November 2012

Template member function specialization question  

Hi, I have a (non-templated) class that has a templated member function. I wish to specialize this function in one particular case but run into a problem. I have put code below that shows this problem, if you un-comment the ... Continue Reading
Views : 155
Monday 26th of November 2012

ansistring,ansistring get's by compiler  

I have a program that i changed over from using char *'s to using ansistrings. Previously it had been: char string1[255]; char string2[255]; strcpy(string1,string2); now i use: AnsiString string1; AnsiString string2; string1 = string2; The problem is, i made a ... Continue Reading
Views : 157
Monday 26th of November 2012

regarding new operator  

I am a beginner to c++ programming. I just want to know what is the use of new operator. If there is no sufficient memory to be allocated then what does the call to this new return. Thanks in advance ... Continue Reading
Views : 181
Monday 26th of November 2012

c char array assignment  

Hello, How do I assign value to a char array? delcared as char tstring[16]; I want to do something like tstring = "blah\0"; I have done this and it works, but there must be a better way. tstring[0] = 'b'; ... Continue Reading
Views : 120
Monday 26th of November 2012

C++ Primer section 1.6 example  

STATEMENT: there is a book store which records the selling of books like this: (ISBN) (number of books sold) (price of a book) the shop-owner then computes the total number of books sold and then average price of each book. ... Continue Reading
Views : 38
Monday 26th of November 2012

gammu with c++  

How to use Gammu library in C++ program?.... Continue Reading
Views : 304
Monday 26th of November 2012

advanced C++  

HI, Where I can find tutorials on advanced c++ c++ Please tell me websites names and resources... Continue Reading
Views : 85
Monday 26th of November 2012

all computer programmings  

http://computer-programmings.blogspot.com... Continue Reading
Views : 101
Monday 26th of November 2012

lvalue/rvalue  

I've alway thought lvalue means Left Value and rvalue means Right Value before i've read someone's article. It is said "lvalue = location value" and "rvalue = read value". Which one is right, then?... Continue Reading
Views : 33
Monday 26th of November 2012

partially specializing member functions of a template class  

Hi, Is there a way to partially specialize only a member function of a template class (not the whole class). e.g. template $PHXLESStypename A, typename B$PHXGREAT class Base { public: void fun (int key ) {cout$PHXLESS$PHXLESS"inside the template class\n"; } ... Continue Reading
Views : 165
Monday 26th of November 2012

"Overloading" a metafunction  

Hello all, In my generic Visitors implementation, I have defined a policy type (which determines how I traverse the structure to be visited) as a meta-function of the type of the visitor and the type of the visited structure's node: ... Continue Reading
Views : 123
Monday 26th of November 2012

struct definitions  

I'm looking through some old C source code and seeing struct definitions that look like: typedef struct { int i; int j; } foo; How does that differ from: struct foo { int i; int j; }; Will both work ... Continue Reading
Views : 132
Monday 26th of November 2012

extensible math functions: variable number of arguments and class templates  

I have a couple of questions about using a variable number of arguments in a function call (...). The context is that I have some mathematical functions I created. I currently pass them a pair of numbers (doubles), and the ... Continue Reading
Views : 210
Monday 26th of November 2012

how to handle the exception handling when NEW operator failed to allocate memory  

Hi , I am using the NEW operator to allocate the memory in many places of my code.But I am not doing any error hadling or exception handling.Can any one suggests me how to do exception handling, which code part ... Continue Reading
Views : 87
Monday 26th of November 2012

Custom Software Development  

iTechArt Group - Custom Software Development and Offshore outsourcing Company http://www.itechart.com/ Offshore custom software development company iTechArt - Web site and Content Management Solutions development, CMS consulting: Ektron, Drupal and DotNetNuke iTechArt Group provides high... Continue Reading
Views : 112
Monday 26th of November 2012

what's the possible reason for these core dump  

HI, What's the possbile reason for the following core? They were from the same process, but the cord place was not the same each time there was core dump. OS:SUN5.8, ACE5.3+TAO Regards core1 -------------------------------- (gdb) back #0 0xfe9c1c98 in _smalloc ... Continue Reading
Views : 103
Monday 26th of November 2012

data corruption on pointer cast  

Heyllo, Names matt, I implemented a set class as follows: template$PHXLESSclass T$PHXGREAT class Element { public: virtual int operator == (T) = 0; virtual int hash() = 0; }; /** * A efficient hash implementation of a Queue-set that does ... Continue Reading
Views : 84
Monday 26th of November 2012

programming my c++ matrix  

hi all I'm trying to program a c++ matrix. can anybody help me? how can i attach the file to be programmed with this post? sarah... Continue Reading
Views : 54
Monday 26th of November 2012

OT: Intel C++ compiler and scope of local variables  

Hi all. It's my first experiment with Intel C++ compiler (I want to optimize some time critical routines). When I try to compile usual code I get strange error: for(int i= ...) { // OK } for(int i= ...) { ... Continue Reading
Views : 37
Monday 26th of November 2012

C++/Sybase  

Hi group, I was directed here by a member and am hoping you can help me out. I am currently working on staffing up a project for a banking client in NY and am struggling finding strong C++ candidates. Basically ... Continue Reading
Views : 49
Monday 26th of November 2012

Implemetaction a straw by next of memory at any allocator.  

How do a library name which it implementation a straw in C++ language by next of any alocator. This straw has property like what the pipe width C language at UNIX. Thanks in advance.... Continue Reading
Views : 297
Monday 26th of November 2012

Question about hooking and simulating input in C++  

Hi, I was wondering if its possible to "hook" programs as in windows on linux (ubuntu specifically.) I doubt it is as its a big security flaw, but "hooking" is very useful for automating things I'd I'm interested. Also is ... Continue Reading
Views : 70
Monday 26th of November 2012

=windows-1256B3+HtyCDRx+PSIMzhx+Eg5sfb5O3JINrm0sfk7SDHztM==  

?? ???? ???? ?????? ?????? ??? http://www.dededvd.net/vb/showthread.php?t=4258 ????? ??????? ??? (( ???? ????? ??? )) (( ?? ?? ???? )) ?? ???? ????? ?????????? 200 http://www.dededvd.net/vb/showthread.php?t=4416 ????? ??? ???? ?????? ???? ???? ??? ??? ???? ???? ???? ???? ?? ??? ... Continue Reading
Views : 31
Monday 26th of November 2012

"Shifted" insert in std::string  

Is there something "elegant" in the standard library I can use to perform a "shifted insert" in a std::string? Let me examplify what I mean with shifted insert. Say I have: std::string foo = "abc"; std::string shifted_foo = shifted_insert(foo, 'd'); ... Continue Reading
Views : 48
Monday 26th of November 2012

Small High-precision Arithmetic Library  

I'm looking for a very basic high-precision arithmetic library. I need to be able to specify a fixed number of bits or decimal digits (32 decimal digits should be all I need). The only arithmetic functions I need are addition, ... Continue Reading
Views : 95
Monday 26th of November 2012