Hi Bibek4u,
I am not sure but You can try the strace command.
$starce ./outputfile
likewise your source file is tmp.cpp and output file is tmp on current directory.
$strace ./tmp
The output of strace command will help you.
Cheers...
User Profile
Collapse
-
Hi Diwakar,
you are using forward declaration, So can't access derived class function through base class object(remove getobject function), modify virtual void paint() function ..(remove =0) and assign k = new derived ();.
You will get the result.
Cheers....Leave a comment:
-
Hi ,
Sample code to convert ip address from string to Long. But for better solution try to use the in built function.
Code snipped - please refrain from spoonfeeding.
Regards
Kin ParmarLeave a comment:
-
Hi rag84dec,
Sample code for your question.
That will solve your problem.
Regards,Code:#define UNREL #include "xyz.h" #include <iostream> using namespace std; int main() { cout << PURPOSE<<endl; }
Kiran Parmar...Leave a comment:
-
Linked lists vs. arrays in C++
Hi All,
Wat is the Basic difference Between Linked lists and Arrays in C++.
Please , Explain with example,
So, It's help other member too.
Regards,
Kiran Parmar -
-
Raghu is right , But you have to change your code if it's compiler specific . Likewise , CC and Gcc Compiler in Linux . You find some changes in Input / Output stream , dynamically handling char array, and basic data type .
Regards,
Kiran Parmar...Leave a comment:
-
You want to read character from file ..mean you read "c" , then u want to convert into binary. " 1100011 " and then want to store it into int binary[8] = { 1,1,0,0,0,1,1} ; and then want to write binary data into other file.
and then after u want to do reverse of that ...Wrong then correct me ..
.
Kiran Parmar...Leave a comment:
-
Http POST Method
Hi all,
I am implementing a http client in c++. I want to write a method to send the POST request to server. How will i do that?
what is the format for the request to server send by POST method?
what is the format for the response from server for the POST method?
What is the basic difference in the methods PUT and POST while sending the message body in http request?
Please explain with a psuedo code.... -
pntkiran started a topic Problem in identifying HTTP request field for enoded type (base64 or binary)in HTML CSSProblem in identifying HTTP request field for enoded type (base64 or binary)
Hi all,
I parse HTTP request(using post method) coming from client.file can be either of binary or base64 encoded.I need to process them differently for each case.
(if(binary type)
call method1();
else
call decode();
// and then
call method1()))
How will I come to know which kind of encoding method is used at client side from header?Is there any... -
HI .
you want to get the source code of c++ compiler or c++ example code ?...Leave a comment:
-
Getting Started with PHP Hosting on a Linux Server
i have on project in php. i want to run that project on linux machine.
so to execute that project which steps required.
is there any need to configure httpd.conf file if then tell me all step required to run project with example.
thanks in advance. -
pntkiran replied to I want to write a code which replace words from string without use of string functionin CI want to search word form string and then replace that word with other word....Leave a comment:
-
pntkiran replied to I want to write a code which replace words from string without use of string functionin CI want to find out word from string and replace with new word.
like wise, I have string " Great People here" from that replace "People" and put "Man".
I write simple code here :-
but need help :-
[code=c]char* str = "this is string";
char* pattern1 = "is";
char* pattern2 = "was";
int slen = strlen(str);...Last edited by AdrianH; Jun 2 '07, 12:55 PM. Reason: Please use [code=c][/code] tags for improved readability.Leave a comment:
-
pntkiran started a topic I want to write a code which replace words from string without use of string functionin CI want to write a code which replace words from string without use of string function
HI All.
I want to write a code which replace words from string.without use of string function
Example str = "This is string" remove "is" from string and replace with "was".
so, finally str = "This was string".
Void replace ( char * str , char * pattern1, char * pattern2).
Thanks in advance.
Kin Parmar.
No activity results to display
Show More
Leave a comment: