- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 15
- Posts with Upvotes
- 14
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
electrical engineer
- Interests
- programming C, C++ and Python
Re:
I have a problem. I have a function that search a string in a text file. This function return an int: 0 if the string I must be search isn't in the file, 1 otherwise. The problem is: if the searching string is "input1" and in the file there is … |
|
Re:
Friends i have little bit problem in making a c language program. I have to make a program which prints prime numbers from 1 to 500. I make this program but with while loop then i was told to make it using for loop, which i tried but failed. So … |
|
Re:
Hi guys, If i have a file like the one below what would be the best/easiest way to sort the words in alphabetical order. thanks. with an equal mix of biosolids to make the compost Sawdust is on their greens Compost applied properly will enhance growth of grass flowers shrubs … |
|
Re:
I can't find anything to help me out on this method of sorting. How do I do it? |
|
Hello guys, I need to find out what is my drive's serial number under win XP. I know that there are one serial number from manufacturer (real hard drive) and serial numbers generated by windows. I know that if disk is partitioned into more partitions that each partition will have … |
|
Hello, I'm learning Python. It is my first interpreted language. I have some experience with C and C++. I must admit that it's very hard for me to accept a concept of interpreted language. For example I write code in C++, compile it, link it and I have .exe file … |
|
Hello, I'm using PythonWin and I have a problem. i don't know how to run script from Python shell Pythonwin Interactive Window). For example I wrote this code (from tutorial): [code] import sys print 'Begining... now...' for x in sys.argv: print x [/code] and I save it as Script.py in … |
|
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 … |
|
Hi people, when starting many of us were warn not to use gets() function. We know it's unsafe and it might easily crah program. On many boards there is FAQ in which there are advices not to use gets(). I wonder why such function exist in standard library and why … |
|
Re:
hey all.........i m new here!!!!!! I am at my wits end on this problem.....i would appreciate it if you could give any help..................................................... i managed to compile and run a C++ program that intializes and reads/writes to a serial port . I was using the Dev C++ compiler to write … |
|
Hello, I'm writing a simple calculator in C. The main problem is I need to parse string to evaluate for example 1+2*(3-1)/2.5. However writing such parses is a very hard task. This is a trivial thing Python using this code: [code] s = raw_input('Please enter expression:') try: x = eval(s) … |
|
Hello to all, I didn't find informations about what is overall limit to store documents in Google/gmail online documents. I have fond only how big files can be in orderd to be able to upload them, but didn't find how many. Is it possible that capacity is shared with Gmail … |
|
Hello, is it possible to resize partitions under win XP using Disk management tools, or I need special software for that? I know there are couple of software tools such as Partition Magic. However, I'd like to know if this is possible to be done in Win XP itself. Regards |
|
Hi to all, after two months I decided to give Python one more chance. Here is a little code snippet about counting number of words in text file. (Under word I assume any combination of letters and numbers delimited by standard separators " .,\n\t" [code] file = open ( "Test.txt", … |
|
Hello people, I wonder if there are free web space that can be used. Basically I need storage (ftp) if possible to place materials and worksheets. For example I participate on sci groups and I do math proof of something and want to show this to others. Do you know … |
|
Hello to eveyone, I'm reading one article about CPU utillisation in programmable logic controllers, which are also computer based systems. In article is stated that CPU's time is spent on executing both instructions and no-ops (no ops). I cannot uderstand what this no-ops means? Why they exists? Can anyone explain … |
|
Hello people, I wonder why many business machines such as servers and process computer (I work in one power plant) use SCSI disks? I noticed that practically all computers that do a lot of processing use SCSI disks. These computers are rather old (4 years and older). Maybe today, situation … |
|
Gereetings everybody, I'm reading this article: [url]http://www.daniweb.com/blogs/entry1911.html[/url] I must admit I cannot understand how this is possible? Is this problem affects only users computers or Google web site. "acts by modifying the infected computers' Hosts file " Where is that hosts file? is it on my computer? If my computer … |
|
Hello, do you know where to find drivers in order to use USB flash disk on machines with Win NT 4.0. I have found drivers for win 98 and once I installed them, I was able to use three different USB sticks (different manufacturers). Unfortunately, I wasn't so lucky when … |
|
Hello guys, It's been a while since I last time posted in this forum. I have strange problem regarding matrix allocation. I was asked to write code that includes 2D array dynamic allocation. I write two version of matrix allocation. Here is in my opinio relevant part of the code: … |
|
Hello, maybe this is not the right forum, but I hope you'll be able to help. How many of you used google groups? I have recently signed in but I'm having problem posting new topics. Every time I post it is written my email address (it's partially mask)- I see … |
|
Hello people, I have one interesting problem and need your advices. A few days ago, my friend called me and asked for help. He said he had problem with internet connection. It is old computer 400 Mhz on which win98 is installed and he use dial-up just like me. Problem … |
|
Hello guys, I want to buy DVD player for home use (not computer DVD device). I want DVD player to be able to play DVD+RW 8 cm double side disk. I assume most of today's DVD player support this feature but yet, I'm not sure. How to check that if … |
|
Hello guys, I have formated hard drive at my neighbour's computer. It's relatively new computer with Pentium 4 processor and intel motherboard. Installing windows Xp passed all right, but there was a problem when trying to install chipset drivers. Since sound card and network card are integrated, autorun option offers … |
|
Re:
I need to write simple program in C++! I need to write program that read information from file,which contain <50,students name and respective score.My program need to calculate average score and print out students name,who get below average mark to screen!But,i don''t know how to use string to do it.... … |
|
Re:
hi iface aproblem in c program i want to write aprogram to read R={(1,2),(2,1),(3,3),......} then covert it to matrix0/1 please help me quickly |
|
Re:
Can I know something about Sequential Search?? Answers within 24 Hours PlZ.. |
|
Re:
Please provide me some sample programs that illustrates sorting techniques and about Sequential Search also.. |
|
Re:
I am programming in C++ and am attempting to find the intersection of two strings, only the items common to both and thus return a third string with these items. Essentially, I am trying to write the code for the STL library set_intersection. To approach this problem I thought of … |