Re:
[B]This will works Recusivly and easily[/B] |
|
Re:
#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 |
|
Re:
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 … |
|
Re:
Hi, i would like to calculate the execution time of my program. is there any function available to enable it?? |
|
Re:
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 |
|
Re:
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....?? |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
#!/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 … |
|
Re:
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 … |
|
Re:
How to make a reverse string program in [c programming](http://www.programmingpad.com) language ? |
|
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. |
|
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 = … |
|
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. … |
|
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 … |
0 Reputation Points
~7K People Reached
Favorite Forums