- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 19
- Posts with Upvotes
- 15
- Upvoting Members
- 14
- Downvotes Received
- 6
- Posts with Downvotes
- 5
- Downvoting Members
- 6
bugging computers
- Interests
- listening to all kinds of music . surveying tech gadgets . and ofcourse programming programming programming.
- PC Specs
- intel core2 duo 1.66ghz . dual OS windows xp/ Fedora 7 2 GB ram 250 GB hard disk
168 Posted Topics
Re: in ur turbo c== compiler , u can navigate to help (right mouse click) and then search for inp() and outp() . There u will not only get a decent explanation but also an example with it. I guess that would help u out. | |
Re: well even i am into image processing and this link helpmed me a lot . i dont know how far it will help you . [url]http://cimg.sourceforge.net/[/url] | |
I am able to write a java program to access a particular url , and get the data , but the data is in raw format and the complete source is printed in the terminal . import java.net.*; import java.io.*; public class URLConnectionReader { public static void main(String[] args) throws … | |
i have written many programs using stack , but how do i write a program to find whether the stack is progressing in forward or reverse direction . ? | |
Re: chuck that damn compiler ..... its totally totally obsolete . and btw it doesnt matter , because the tubro Cpp (SCHOOL programs ) programs will also run with gcc and MinGW , although there might be some finer nuances .. like using namespaces etc the other 2 are better than … | |
Re: Well assert is a macro that expands to if statement . if the test value is zero assert prints the message to stderr: if the test fails : test , filename , line linenum is printed . linenum is the line where the macro is used well it depends on … | |
Re: i guess this should do the trick... [code] int leap ( int int x) { if (!(x%100) && ( x %400 || x %4)) return 1; } [/code] well it will return 1 if the year is leap year or not | |
I want to make a user profile , where in the people can login and fill in profile details . Well basically i am wanting to make a connection between the alumni of my college with the existing students. So , i initially thought of making the alumni registered and … ![]() | |
Re: I guess this link might help you .. as even i am interested in this field and i admit that i am a complete neophyte in this too... [URL="http://www.tenouk.com/Module40c.html"]http://www.tenouk.com/Module40c.html[/URL] | |
Re: 1. People need not to have a single character as a password , ur code works only for a single character. 2. Goto is a very very bad & unstructured style of programming , double whammies like that are rare. 3.For , god sake stop using the old freaking turbo … | |
Well i intended to develop a sohisticated java server client program . but just couldnt push myself so far so ust had to satisfy myself with it. Well , i have created a simple chatting interface . i would not call it a chatting interface actually cuz i had something … | |
i have a csv file from where in i read the data and store individual coloumns in list , but for the last coloumn i am getting \n in the list . i want to get rid of that . [CODE] f = open('datagen.txt') for lines in f: line = … | |
The program is fetching me the right output but still i am getting a warning #include<stdio.h> #include<string.h> int main() { char *p,*q; p=(char *)malloc(25); q=(char*) malloc(25); strcpy(p,"hello" ); strcpy(q,"hi"); strcat(p,q); printf("%s",p); } Warning test7.c: In function ‘main’: test7.c:6: warning: incompatible implicit declaration of built-in function ‘malloc’ wat exactly is the … | |
[CODE] #include <stdio.h> #include <unistd.h> int main() { while(1) { fprintf(stdout,"hello-out"); fprintf(stderr,"hello-err"); sleep(1); } return 0; } [/CODE] why is that i am getting heelo-err instead of hello-out | |
Honeslty have no idea on how is the output being generated ? [CODE] #include <iostream> int main(int argc, char** argv) { int i=1,j=-1,k=0,l=2,m; m=i++||j++&&k++; printf("%d %d %d %d %d",i,j,k,l,m); return 0; } [/CODE] output : 2 -1 0 2 1 evwn though j++ is is present that value is not … | |
[URL="http://www.daniweb.com/forums/thread305436.html"]http://www.daniweb.com/forums/thread305436.html[/URL] accidentally i posted in the wrong forum. | |
I have a search a particular filename in my msaccess file . if i search through ID no , i am able to fetch the output . but if i am searching by comparing filenames then i am getting error [CODE] Private Sub cmdSearch_Click() Dim key As String, str As … | |
Re: u gotto search plugins for both the cms in order to suit your requirements . There are community builders for joomla AFAIK , aint have much idea about drupal . | |
i did go thru a google search and found some functions .. but those results where horrifying , i guess i am using a wrong method of finding time . [code] def test(): "Stupid test function" L = [] for i in range(100): L.append(i) if __name__=='__main__': from timeit import Timer … | |
I have various list being generated by a mapper function in this format >>> mapper("b.txt" , i["b.txt"]) [('thats', 1), ('one', 1), ('small', 1), ('step', 1), ('for', 1), ('a', 1), ('man', 1), ('one', 1), ('giant', 1), ('leap', 1), ('for', 1), ('mankind', 1)] >>> mapper("c.txt" , i["b.txt"]) [('thats', 1), ('one', 1), ('small', … | |
Re: @jenzilla: I dont know how far will this help you , but there is a module called easygui which is really very very easy to use , your question can be done soo easily [CODE] from easygui import * name = enterbox (" Welcome user , please enter your name … | |
Well i have a small code snippet which is a basic http server. Well its running fine , but i am unable to catch the feedback and store it in a log file of my own for further analysis. code snippet : [URL="http://codepad.org/MppnYU9n"]http://codepad.org/MppnYU9n[/URL] just in case wondering on how to … | |
I have a couple of input boxes where the user will be entering his/her data . for example: Name:------------- Fathers name:----------- mothers name:------------ when the user enters the data , i need the xml to be generated something like this <family> <name> users name </name> <fname> fathers name </fname> <mname> … | |
Well i need to change my banner of the website alternatively , like once user experiences the pic1 which would be incorporated in my CSS. But the point is i want that pic to change . for example when user 1st time logs in , he see pic1 as a … | |
Well this might sound a bit ridiculous , i request the user to enter the no of names field to be generated and then i am successfully able to generate , but dont know how to go about saving those many names in the name column of my db. initial … | |
I have written a small script in order to check the browser of the user and find that the code isnt working , even if i open the php page in IE its still outputting Mozilla [CODE] <?php $browser = $_SERVER['HTTP_USER_AGENT'] ; echo $browser. "\n\n"; ?> [/CODE] Output in Mozilla: … | |
i have a basic script where in i check if the content is inputted or not . If the content is not present i redirect to the same page also echoing a statement that u have not entered any data , but the echo message is not being printed. the … | |
Re: i would suggest to go through various fields of computer science were algorithms are extensivesly applied ( i.e almost all the fields ) find your area of interest in them and then find what has been done in that particular field ie the scope , recent tech etc Finally according … | |
Re: well are u using any kind of DB for backend ? I guess so ... In that case firstly think of an elegant backend for your application first for example u could have student id , name , score1 , score 2, score 3 , score 4 , total ; … | |
Re: Well flux123 i dont pretend to be an expert in this assembly programming but have some tricks of my own 1. its better to use TASM cuz it excecutes both the styles of programming. 2. instead of pushing the string into the stack its better to store it in a … | |
Re: well i would recommend advanced number theory for encryption , since encryption involves more of math than computer science . | |
Well i have been working on linux for a while , eventhough i am stuck to ubuntu only . Well i am planning to venture out a little and understand more about how os is made and may be build os from scratch .. i mean not to code it … | |
For example , As i registered in daniweb.com , a mail was sent to my email id and after clicking on that link , i could complete my registration . i want to develop a similar module in php , where the users after signing in , i sent this … ![]() | |
Re: well firstly u gotto understand OS more profoundly . and that can happen only if u have built OS by scratch . that doesnt mean that u code an OS , but coalesce different parts of OS into one and have your own small model . | |
Re: well ... i am kida baffled . i guess u want to print the counter which increments by one . all u gotto check is the variable assg shouldnt exceed the max points you set . and while thats true , keep incrementing the counter . | |
Re: [QUOTE]Icon is quite nice but as development environment it is clumsy. So I end up using Python, which has some influence from Icon. Dreaming to implement sometimes more Iconisms for Python..[/QUOTE] i second that. | |
Re: [QUOTE] how can i write a program to calculate the median of matrix in file1 , and send the output to file2 .....???? can anyone help me please??! ======= [/QUOTE] sarah u gotto show some effort of your own . Please give it a shot and later if you having … | |
Re: well wat exactly are u talking about 1. Implement TCP/IP ? or establish server - Client using TCP/IP ? richard stevens book on unix have socket programming in them , i guess that might help you | |
Re: well i would suggest for you to go in for Qt + C++ . well for text editor you do need somekind of GUI and QT can help you with that. besides its also got a standard example of text editor which you can download and learn how its built. | |
Re: well all u gotto do , is to check the age of two people and print in the format asked for example: [CODE] if ( x.age > y.age) cout<<x.name<<"is older than <<y.name; else if ( x.age == y.age) cout<<x.name<<"is same age as "<<y.name; [/CODE] well i am assuming ur doing … | |
Re: that is indeed a pretty serious one , besides making compiler isnt a joke .. U gotto understand a lot of theory and concepts regarding a function of compiler , which mostly include Finite Automata Theory and parsing of grammers and a lot of things pertinent to it. I would … | |
Re: >What that limit is will depend on the system the executable will be run on. the limit .. well in linux its stored in ARG_MAX and is usually 4096 bytes , but in other BSD s it might be a little higher . Besides its a tedious job to pass … | |
Re: well u can use a check variable and initially assign = 1 then inside the iteration keep asking to the input if the input == 0 check = 0 close the iteration | |
I recently herd the buzz about JSON and stuff was also saw the coding style , but still i am not able to appreciate it . Well i am working in python web framework (not Django) and also using templating language. when i wrote a program to just to add … | |
Re: [QUOTE=jonsca;1047568]This has a step by step method: [url]http://www.ehow.com/how_5079317_calculate-inverse-matrix.html[/url][/QUOTE] That was a nice link enlightening the procedure. I would like to add more on it by saying that u could use matrix template library [URL="http://www.osl.iu.edu/research/mtl/intro.php3"]http://www.osl.iu.edu/research/mtl/intro.php3[/URL] It might be helpful to you. | |
i have a very simple program which takes in file name as argument and print the content of the file , but for some reason it isnt working here is the code [code] import sys ,os def Cat(filename): f = open(filename) text = f.read() print '----', filename print text def … | |
Re: well if ur newbie i would suggest that u use ipython rather than python . well in ipython u can directly enter as $ ipython -pylab // it has already all mathplot lib and numpy and scipy then ur code gets something like this [code] for c in range(-21,21): for … | |
i have written a small code to store the checkbox values into the db. But its showing me a parse error . Unable to figure out what it could be . [CODE] <?php $dbc = mysqli_connect('localhost', 'root', '', 'test') or die('Error connecting to MySQL server.'); if(isset($_POST['language'])) { $language = $_POST['language']; … | |
Re: first , i think u gotto check whether these header files are present in the path u have set or not . Well usually there would be an include folder in ur compiler directory , where u can find various header files . Otherwise , if those are self made … | |
Re: What ur seeking for , is actually a whole different field of science called artificial intelligence . Well ur imagination is possible but requires u to know a lot of concepts and knowledge on those specifics , hence its not a viable option if ur a newbie . |
The End.