No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am student of BS(CS) in Bahria University, Khi, Pakistan. Programming is my passion. I am blogger too, and post about technology and software,... follow me on twitter @hrabbasi90...
Blog: http://www.technolight.hyperphp.com
- Interests
- Programming, Games, Blogging, Book Reading
- PC Specs
- Intel Pentium 4, 2.66 GHz 1GB RAM, 250GB HDD, Microsoft Windows 7 Ultimate + Ubuntu 10.10
Re:
if u want to invoke the gnuplot with c then your code should be in this pattern. [CODE]FILE*gnuplot; gnuplot= popen("E:\\gp442win32\\gnuplot\\binary\\gnuplot -persist","w"); fprintf(gnuplot,"plot 'output.DAT'\n"); fprintf(gnuplot,"set title 'Po(db) v/s step/(km)'\n"); fprintf(gnuplot,"set xlabel 'step(km)'\n"); fprintf(gnuplot,"set ylabel 'Po(db)'\n"); fflush(gnuplot); close(gnuplot);[/CODE] |
|
Re:
Hello, I'm playing with win API functions readFile and WriteFile. Is it possible to open file using CreateFile in binary mode just like using fopen standard C function. I tried with function WriteFile to write string to a file but it seems that file is opened in textual mode. What … |
|
Re:
Please check out This Output required [CODE] Aa Cc Bb Dd Ee Ff jj Ii Hh Gg [/CODE] [CODE] #include<stdio.h> #include<conio.h> void main() { char a = 'a',a1 ='a',A = 'A',A1='A'; int i,j,n; clrscr(); for(i =1;i<=4;i++,printf("\n")) { if(i%2!=0) for(j = 1;j<=i;j++) { printf("%c%c ",a,A); a++; A++; } else { a1 … |
|
Re:
hello everybody.. here is my Assignment Code.. [CODE]#include <stdio.h> #include <windows.h> int Attendance[50][50] = {0}; int studPresence[] = {0}, weekPresence[] = {0}; int i, x; int week, student; char SubCode[30]; void InputFunction(); void WeekAttendance(); void StudentAttendance(); void main() { int answer; while(answer != 4 || answer > 4 || answer … |
|
Re:
Hi, I got a laptop HP/Compaq NP6000 in an auction. Now when I try to login I can see that it has windows professional (ofcourse I was told by the seller about this..) However, the admin password is something I am not aware of... ans unfortunately I am unable to … |