15,551 Topics
| |
Hello, I would like to work on POSIX thread programming using TC v3.0. The required libraries for its development are STL (that's what I got from some online research). Could anyone please let me know: 1.) Where to download STL libraries. 2.) How to configure them with TC v3.0 3.) … | |
hello guys i m wondering how to convert hex to string | |
guys.. i hope you could help me out here.. we are currently in iterative and conditional statements.. problem is making a [I]pyramid[/I] using asterisks. for example, if the user input 6, that would be the height of the pyramid, while the body starts at 1 and increases by 2 each … | |
Good day everyone! I would like to ask some problem about the program I am currently working (hangman to be specific). Since I am just a beginner, there are many things I would like to clarify. I would like to ask your help so that I can enable more to … | |
Can anyone help me solve this word equation it is for a simple homework assignment and the professor was having problems with his computer and now I am left in the cold. I need a detailed answer and the formula.. Thanks so much and I may not even been in … | |
Hi, I urgently need some help on system date and time.Here's the code [code=c] #include<stdio.h> #include<time.h> main() { time_t rawtime; struct tm *timeinfo; time(&rawtime); timeinfo=localtime(&rawtime); int hour2; int minute2; int seconds2; char end1[5]; int end=0; char diff[5]; char start[5]; int i=0; char ch[5]; char ch1[5]; FILE *fp2; FILE *fp1; FILE … | |
i want to make a program in which if we input 98765 than it give output as 9 8 7 6 5 please help me | |
[code] /*Output Section */ printf ("\nThat height is equivalent to " "%1f" " feet and " "%2f" " inch(es).\n"); scanf ("%f", &FEET); scanf ("%f", &INCHES); [/code] | |
I need help with this assignment for my computer programming class..... I honestly have no idea what Im doing!!!! Convert a person's height from meters into feet and inches (rounded to the nearest whole numbers) and display the result on the screen. The height must be entered by the user … | |
[code]#inclxude<conio.h> #include<stdio.h> #include<stdlib.h> max(int a,int b,int c); void main (void) { clrscr(); int a,b,c,max; long z; printf("input three numbers by giving space"); scanf("%d %d %d",&a,&b,&c); z=max(a,b,c); printf("Max value is %lb",z); getch(); } void max(int a ,int b,int c ) { if(a>b&&a>c) return(a); if(b>c&&b>a) return(b); return(c); }[/code] i make that program … | |
Hello, I am trying to work learn thread programming in C. I have my turbo C installed and its working fine. I tried to get the library "pthread.h" and relater STLport package by searching online and managed to get them and copied them in my include directory. But while compiling … | |
Guys I'm supposed to write a program that displays the date and time using C along with username and password inputs I came up with the following code [code] #include <stdio.h> #include <termios.h> #include <unistd.h> #include <time.h> #include <curses.h> #define PASS_LEN 25 int current_getch; int doloop = 1; static WINDOW … | |
Hello everyone! I am trying to write a program in C for the RSA encryption. I have come this far and can't seem to go further. I don't understand why it is not giving me the desired results. My program style may be a bit naive i am just starting … | |
"The great thing about standards is that every company gets to have one." The first time I heard that expression was around 1995. Proclaimed by Joel Shore, a former-boss-now-friend, it was one of the many truisms at the time. A good many standards bodies and arbiters have cropped up since … | |
The [URL=http://www.iso.org/iso/home.htm]International Organization for Standardization[/URL] today announced that Adobe’s Portable Document Format is now an ISO standard. Well it’s about time! The PDF has only [URL=http://www.adobe.com/pdf/about/history/] been around[/URL] for 15 years! This is great news for all areas of publishing, for Web developers and Web site admins, even operating system … | |
Maybe it’s all part of a kinder, gentler Microsoft; or maybe it’s something else. In the latest example of Redmond’s increase in openness, the “Evil Empire” in an [URL=http://www.microsoft.com/presspass/press/2007/may07/05-16ANSIVotePR.mspx] announcement[/URL] last week said it backs the addition of the Open Document Format to the American National Standards Institute (ANSI) standards … | |
Two version that do exactly the same thing! | |
Cheap, dirty code for Windows and *nix. | |
[U]Usage::[/U] [ICODE][B]ir_strcpy[/B]( [I]destination[/I], [I]source[/I], [I]range_begin[/I], [I]range_end[/I]);[/ICODE] [U]example:[/U] [CODE=c] char test[] = "Hello World!!!"; char test2[20]; ir_strcpy(test2, test, 1, 3); /* test2 now contains 'ell' */ [/CODE] | |
This is how mine [B]strlen[/B] function would look like if I'd to implement it from scratch :) | |
{-='Display the numbers and compute it using Dev-C LaNGuaGe'=-} | |
{-='Ask for the Student Name & Compute the grade using Dev-C LaNGuaGe'=-} | |
{-='Read a number series and print it reversed using Dev-C LaNGuaGe'=-} | |
{-='Number of Rows (Reverse) using Dev-C LaNGuaGe'=-} | |
{-='Converting Fahrenheit-Celsius & Vice-Versa using Dev-C LaNGuaGe'=-} | |
{-='Display the number of letters in each word typed using Dev-C LaNguaGe'=-} | |
{-='Calculate the average of ten numbers using arrays'=-} |
The End.