Search Results

Search: Posts Made By: zinat
Forum: Programming 05-15-2014
1,649
Posted By zinat
Returning char array
I want to return a char array to the main() function, but its returning garbage value.

#include<stdio.h>
//#include<conio.h>
#include<string.h>

char* strtrmm();

int main()
{

char...
Forum: Programming 05-10-2014
911
Posted By zinat
Character pointer to Character array
how to copy content of character pointer to character array in c programming..


char *num;
char name[10]=num;
Forum: Programming 05-07-2014
2,576
Posted By zinat
Thanhs for your suggestions Sir, I have started...
Thanhs for your suggestions Sir, I have started coding for this problem..
Forum: Programming 05-06-2014
2,576
Posted By zinat
So Sir other way would be search for word like...
So Sir other way would be search for word like int, float etc and store the words after int,float till I get a semicolon.

---------- Post updated at 12:52 AM ---------- Previous update was at...
Forum: Programming 05-06-2014
2,576
Posted By zinat
Sir i was trying it using (gdb) info locals but...
Sir i was trying it using (gdb) info locals but its not giving the output properly..
Forum: Programming 05-06-2014
2,576
Posted By zinat
Yes Sir may be a file program which could take a...
Yes Sir may be a file program which could take a C program and in output give me the variables been declared..
Forum: Programming 05-06-2014
2,576
Posted By zinat
Sir I just want to find the variables being...
Sir I just want to find the variables being declared in the program..

Can you suggest ...
Forum: Programming 05-06-2014
2,576
Posted By zinat
Sir can u plz elaborate on dis i dont have any...
Sir can u plz elaborate on dis i dont have any idea abt dis..


#include<stdio.h>
int main()
{
int a,b ,c;
printf("hiii");

}

For Eg this is my code
Output i want is :

a
b
c
Forum: Programming 05-06-2014
2,576
Posted By zinat
After the program is complied i want to print all...
After the program is complied i want to print all the variables used inside main() as well as variables declared or defined in any function as my output..
Forum: Programming 05-06-2014
2,576
Posted By zinat
C Programming
Is there any way to find the variables declared or defined in a c program and print those variables??

plz help
Forum: Programming 05-02-2014
2,144
Posted By zinat
sir it can be either tool or plugin which would...
sir it can be either tool or plugin which would say which coding style a program has like GNU Style or Allman style or Linux style etc..


$ whichstyle main.c

Output : Allman
Forum: Programming 04-30-2014
2,144
Posted By zinat
Coding Style checking
Is there any opensource tool which can check the coding style use in C/C++ program.
Forum: Programming 04-17-2014
2,078
Posted By zinat
Sir actually i wanna programatically find if the...
Sir actually i wanna programatically find if the code submitted by the user is taking recursive approach or iterative approach.. So for this i am genarating a call graph which gives a .dot file like...
Forum: Programming 04-17-2014
2,078
Posted By zinat
yes sir we were also thinking of having two...
yes sir we were also thinking of having two buffer but i m not getting idea how to proceed with it..
Forum: Programming 04-16-2014
2,078
Posted By zinat
#include<stdio.h> int main() { char ch,...
#include<stdio.h>
int main() {
char ch, file_name[25];
char wordChoice[2]="->";
int count=0,z=0,i=0;
FILE *fp;
char *a[100];
fp = fopen("mergesort1.txt","r");
...
Forum: Programming 04-15-2014
2,078
Posted By zinat
File Program issue in c
B17 -> B19 [label="{10}"];
B17 -> B21 [label="{4}"];
B18 -> B19 [label="{4}"];

Can any one help with the pointer solution to check for this -> symbol and one it finds the symbol it should...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 03:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy