Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #3K
~7K People Reached
Favorite Tags
Member Avatar for jai_steave
Member Avatar for hassje

#include<stdio.h> #include<conio.h> #include<string.h> struct student { int*ptr[23]; char*name[12];//store address of character string }s1; void main() { int roll=20; //char n='s'; s1.ptr=&roll;//ERROR s1.name="zahid ali";//ERROR printf("roll no of student :%d\n",*s1.ptr); printf("name of student:%s\n",s1.name); getch(); }//plase coorect this error

Member Avatar for rustysynate
0
157
Member Avatar for Stpdoug

I have a small problem why is this code not writting information into the userdata.txt file? I am not getting any errors in code blocks it runs but the file does not get any data. While in visual c++ the code gives me "debug assertion failed...expression: str(!=NUll)". What am i …

Member Avatar for Stpdoug
0
207
Member Avatar for dalaharp

Hi, i would like to calculate the execution time of my program. is there any function available to enable it??

Member Avatar for rustysynate
0
3K
Member Avatar for terabyte

what is the difference of passing an array to a function like this function(int x[]){ } or like this(int x*){ } what is the difference both ways seem to work

Member Avatar for deceptikon
0
165
Member Avatar for AzizTitu

Is it possible to declare an array with a variable as its index value, so that the user himself/herself can enter the exact number of items required....??

Member Avatar for deceptikon
0
239
Member Avatar for NMADW

Hello, I want to know if there is a simple way to tell if I have a 32 or 64 bit system. Thanks, The exact reason for my question, I am downloading software Studio 8 pdf http://www.qoppa.com/pdfstudio/demo/download And get the choice below. Linux – 32 bit Download Linux 32 Linux …

Member Avatar for rubberman
0
195
Member Avatar for ram619

Hi, this code is compiling successfully, but giving "segmentation fault" when I am trying to copy data to shared memory. Please tell me where I am wrong. Thanks a lot............ #include<stdio.h> #include<sys/ipc.h> #include<sys/shm.h> #include<sys/types.h> #include<unistd.h> #include<stdlib.h> #include<errno.h> #include<string.h> int main() { int id=-1, status=-1; char *check=NULL; char *p="you"; const size_t …

Member Avatar for ram619
0
424
Member Avatar for Gaiety

Hi, When i debug the program using gdb , the gdb is entering the definations of std lib functions (ex: printf, strcpy ect) and other internal functions. Initially the debuger was working fine, i dont have clue when it got changed.I guess some of the flags of gdb might have …

Member Avatar for Gaiety
0
1K
Member Avatar for hust921

Hello everyone. I made this "text file de/encryption" program as my first big C project. It's working pretty decent, and takes a lot of special characters and tabs without any problems. I have tested the code by encrypting and then decrypting some source code, and compared the output with the …

Member Avatar for hust921
0
228
Member Avatar for ashleytauari

#!/bin/bash LOGFILE=/var/log/backup.log backup_source="/home" backup_dest="/home/sean" date=`date '+%d-%B-%Y'` hostname=$(hostname -s) filename="$hostname-$date.tgz" echo "Backing Up your Linux System" tar cvpzf $backup_dest/$filename $backup_source LOGFILE="log-$date.log" log(){ message="$@" echo $message echo $message >>$LOGFILE } log "$LOGFILE" log | tee install.log echo "Backup finished" echo "$LOGFILE" hie I'm trying append teh files i have backed up into …

Member Avatar for CGSMCMLXXV
0
182
Member Avatar for viplovdeep

I have a DELL PC and a LAPTOP i have BSNL broadband connection with modem which worked fine on both the systems not i shifted to BEAM broadband which do not have any modem now the problem is i am able to connect it to LAPTOP and browse by using …

Member Avatar for rustysynate
0
227
Member Avatar for avidwan

How to make a reverse string program in [c programming](http://www.programmingpad.com) language ?

Member Avatar for rustysynate
0
260
Member Avatar for rustysynate

Hi, I searched the net about this question and could figure out exactly the answer to this. They say that CIDR will probably increase the efficiency of the router. If someone could enlighten me on this, it would be a great help to me.

Member Avatar for orwell84
0
117
Member Avatar for rustysynate

I tried the first post on wxpython by fuse. The code is as follows # import wx # # always add this line, or your code won't compile - the wx module contains the GUI code you'll use # """The start of our wxPython GUI tutorial""" # # app = …

Member Avatar for rustysynate
0
167
Member Avatar for rustysynate

Hi, I am trying to build a rectangle which changes its size with respect to the input given. My problem is that on using the[B] surface.blit[/B] function the object start to replicate when the size of the screen is greater than the object. So many rectangle appear instead of one. …

Member Avatar for rustysynate
0
152
Member Avatar for rustysynate

Hi, I am new to programming with python. I want to make a image rotate dynamically corresponding to the CPU usage in ubuntu. I searched everywhere but couldnot find any post for it.All i have found is a static rotation with the PIL. If anyone could help me in this …

Member Avatar for rustysynate
0
85