- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 11
- Posts with Upvotes
- 7
- Upvoting Members
- 8
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 3
Re:
I got this assignment and I'm stuck. I have to write a function that takes an integer value and returns the number with its digits reversed. For example, given the number 7631, the function should return 1367. Can someone help? :confused: |
|
Re:
EDIT: Please note, as I write this, the post is now 6 years old and might have some outdated information. I'd personally recommend beginners start with "Learn C the hard way" by Zed and this book since I have heard good things about them. Reading the FAQ put together by … |
|
Re:
int i,j=4; i=j++*++j*j--; what is the result of i and how it is evaluated please help me. the result is 125 and i don't understand the evaluation part |
|
Re:
how to complile and execute a c pro in editplus |
|
Re:
let's say we have a unsigned char pointer with allocated memory of 1 million bytes. Could you give a little code sample which shows how to eliminate first 1000 bytes? the little similar situation is like below: unsigned char array: 12,34,67,99,215,250,123,67 i want to make it: 215,250,123,67 I want to … |
|
Re:
hi hope anyone who reads this post is doing well/will be doing well soon enough :) ... i have a small problem... i have a program in c/c++ (i am using just a few functions of c++) which creates a log of files after doing some search(its not relavent to … |
|
Re:
My program is a very simple address book program. The program works but i don't know how to make it display the same names. Like for example, the name "Mark Lee", if there are more than one Mark Lee, i would like to display all of those Mark Lee w/ … |
|
Re:
The famous Tower Of Hanoi with graphics and animations. |
|
Re:
Hi all! It would be interesting to know your ideas about a new and attractive location for software development outsourcing - Ukraine. Any information on rates and level of expertise? Thanks! |
|
You likely want something graphical, where the things move. GTK version of the classic arcade game Asteroids. |
|
A small demo about how to use GTK label as a simple console. To compile GTK program, `pkg-config gtk+-2.0 --cflags --libs` should finally be somewhere in the compiler command line in the bash-like shell. |
|
Replaces every occasion of the pattern, or only the first occasion if there is a subexpression, between \( and \), anywhere in the regular expression, as repeated replace is not what one would expect in that case. The string size is restricted in POSIX regular expressions to the size of … |
|
Re:
A fairly complete implementation to provide another perspective on a seemingly simple program. |
|
A very rudimentary more, press enter to view next screenful of text, like with print command in ed text editor. |
|
Similar to cat in unix textutils. You can actually edit files with these. Remember that ctrl-z sends end-of-file in windows, and ctrl-d in linux. |
|
Text fragment extractor (usage: fragment /pattern/[n] [/pattern/[n]] file), similar to the print command in ed and vi, with pattern range. If the second pattern is omitted, prints to the end of file. Use quotation marks when there are spaces in the argument. Finds the first pattern, then the second pattern, … |
|
Re:
I w'd like tom Download Turbo C (window version). Can any one sugget any site, thank in advance :confused: |
|
Re:
Hey guys, I have implemented the Knuth Morris Pratt algorithm and wanted to share the C code with all of you. If you feel it can be optimized please let me know. Feel free to play with it or use it for your school work :icon_biggrin: *************************KMP****************************** [code=c] #include<stdio.h> #include<string.h> … |
|
Re:
please help me in finding what is wrong with my array... its not sorting thanks, thanks. [code=c] int main(){ int i,j,x,y; int unsort[10] = { 34, 76, 12, 1, 56, 23, 65, 9089, 45, 63 }; //int sort[10]; for (i = 0; i < 10; i++){ cout<<unsort[i]<<" "; } for … |
|
Re:
I did not care on warnings. But they put me in trouble lately. When compiler comes to the statement below it gives the warning. [code] /* void ** vpSec00 comes as an argument */ int hSec = 0; size_t nbytes; *vpSec00 = bitio_o_close(hSec0, &nbytes); [/code] it says: warning: assignment makes … |
|
|
|
I was banned from DaniWeb IRC after jtwenting saying to me that if i were in gulag, i didn't last five minutes when i didn't lick the shoes of the party apparatchic, and after i dared to say anything to defend myself, what i said was only that whether he … |
|
Re:
hi anyone can help me. My problem is when i compile my graphic program using turbo or borland c it does not show any error nor any output the screen show blank. my computer configuration is dual core processor AMD MSI K9n moter board sata hardisk N-VIDIA geforce chip set … |
|
Re:
can someone tell me how to find dummy tutorials on how to compile and run C programs using a text editor and the Command Line Window. |
|
Re:
Hi all, I'm new at c. How do I make the system pause until any key is pressed in linux like getche does in borland? thanks |
|
Re:
1.Show that X^62 can be computed with only 8 multiplications. 2.Programs A and B are analyzed and found to have worst-case running times no greater than 150NlgN and N^2, respectively. Answer the following questions, if possible: 1. Which program has the better guarantee on the running time, for large values … |
|
Re:
please help me to design an editor which helps c programming.. |
|
Re:
Hi, This is a segmant of my code that iam working on, for some reason its not giving out the expected output :( which is 11010111. It gives me "elements: ☺ ☺ ☺ ☺ ☺ ☺" and its really bugging me cuz it looks right. Any help would be appriciated. … |
|
Re:
i have a .so(shared object) file and i want to debug into it. could you plz give a little gdb debugger code sample which is adding a shared object for debugging. PS : My executable is Test.x and I know to start with [code] gdb Test.x [/code] :) could u … |
|
Re:
[code] typedef map<string, Attr_info, less<string> > AttrMap; [/code] i do not know what "map<", less and ">" represents? What I little understood from the code is AttrMap is a collection of Attr_infos. If so how can i add a Attr_info into AttrMap? could u plz help? thanx |