132,726 Archived Topics
Remove Filter ![]() | |
hi, can anyone please tell me which is better in #include<stdio.h> and #include"stdio.h" and why? bye chandra | |
I am new to Visual Basic so this question may be a bit simple but it has me stumped. I have written some visual basic code where I reference 3 text files in the same directory. When I reference the files as /filename.txt the program works but when I reference … Software Development visual-basic | |
So I have a simple dice program that lets the user make bets. If their current money pool is larger than the money pool in highscores.txt it will write the new score to the file. The program works as intended except for the high scores. When I try to write … Software Development file-system python | |
Hello, I am exporting 3 seperate Selects to a csv file. What i have is a button that when clicked I would like to have to export. The problem that I have is that I can only get one of the three to work. All three do work just not … Software Development python | |
I have a file that contains lines like: 2/3/4 5/6/7 8/9/10 and I want to extract the 2, the 5, and the 8 So I am parsing the line by the ' ' delmiter to get 2/3/4 5/6/7 8/9/10 then I need to parse each of those to get the … Software Development c++ | |
Hello, I have a project that needs to implement a Safe Array which is an Array that has bounds checking. On top of that I need to create a "Matrix" class which implements 2D which is basically a Safe array within a Safe array. This is also templatized. The problem … | |
I'm trying to load a registry hive (C:\Users\test\NtUser.dat) but I get error 1314. This is something to do with permissions. I'm using RegLoadKey. I converted this [url]http://support.microsoft.com/kb/297060[/url] example to vb.net, but as I said I get the error 1314 on RegLoadKey part. The other apis to change the permissions all … Software Development vb.net ![]() | |
How to count line of code in text file or file .cpp (this .txt file or .cpp file is the input file of program) and what's function for count line of only mark code for example of this code(file input) , I want to count only "do" function that have … Software Development c++ file-system | |
My first vb.net post...:) What I've got: On a form, I have 'Add New Tab' button, a 'Select Picture' button and a TabControl. On the first Tab I have a textbox1and a picturebox1, when the user uses the 'Select picture' button (which calls opentdialog) I load the picture into the … Software Development vb.net | |
Hi All, I have to develop an application that needs to send a sms to any cell/mobile using a CDMA connection. This application is for an voluntary organisation, which involves in free medical service. I appreciate if any one can help me in this regard. Thanks every one for your … Software Development visual-basic | |
Hey, I am trying to make a little MDI control with tabs, but my problems lies in the following: I want it so that when the mouse is over a tab, a close button i.e. an X is displayed on the tab, then the user may click this button to … Software Development java java-swing | |
Hello, I'm using MAPI component to send email messages via VB6. Here's my code: [CODE] Option Explicit Private Sub cmdEnd_Click() Unload Me End Sub Private Sub cmdSend_Click() MAPISession1.SignOn MAPISession1.DownLoadMail = False DoEvents MAPIMessage1.SessionID = MAPISession1.SessionID MAPIMessage1.Compose MAPIMessage1.RecipAddress = txtSendTo.Text MAPIMessage1.ResolveName MAPIMessage1.MsgSubject = txtSubject.Text MAPIMessage1.MsgNoteText = txtMessage.Text MAPIMessage1.Send False MAPISession1.SignOff End … Software Development visual-basic | |
Hey, I was bored and had not made a program for a short while so decided to make one, Just have a few questions and some "How do you.." questions, well heres my code.. [CODE=C++]#include <iostream> #include <fstream> using namespace std; int main() { int registerID, ID; char name[20]; char … Software Development c++ | |
Hi, i've been working on simple code just prototyping the system i'd like to make. This all works and is going great apart from my "quit" button, the button appears. however when you click on it, it doesn't close the interface..i think it just stops the code from running or … Software Development python | |
I'm trying to create a JButton in 1 of my 2 JFrames which exits the top or current JFrame... If I try: [code] System.exit(0); [/code] The entire, currently running Java Virtual Machine, exits... (both frames) I'm basically trying to get the same result as [code]setDefaultCloseOperation(DISPOSE_ON_CLOSE);[/code] does to the X button … Software Development java | |
[CODE]#include <iostream> #include <vector> using namespace std; class Pair { public: Pair(int a, int b) {x=a; y=b;}; int get_x() {return x;}; int get_y() {return y;}; private: int x; int y;}; int main() {vector<Pair> set; \\input of the set of points, with 50 points Pair* a1 = new Pair(70, 64); set.push_back(*a1); … | |
Hi friends I am trying to connect to a Linux machine from a Windows PC. I used to do it thru TELNET, but now I want to use SSH for better security. I tried with PYSSH, but I am going nowhere with it... Parmaiko is not working in Windows... Is … Software Development python | |
Hi friends, This may a childish question but please help me out. I want to know whether there is any dfference between Heap and free Store in C++ (dynamic memory) or they are the same i.e just the synonyms used? One more thing i want to know is that where … Software Development c++ | |
Container V1: 1 2 3 4 5 6 7 I want to print the elements which are greater than equal to 3 but less than 6. How to do this using Standard template library functions.. We have logical_and, greater_equal and less_equal Predefined Function Objects. But i dont know how to … Software Development c++ | |
Hey guys. I've been having this problem with a Dynamic list using pointers. I have built the class, then defined a MAX size to the list when first created. Then I thought about maybe the user wants to enter more values, so I made some changes. Here's the code: [code] … Software Development c++ | |
I need to check if registry value exists from within .bat ('batch') file, and it seem to be quite hard to do - not many ideas on it I have found. Maybe you can help? I believe I should use the reg.exe programm to do this but what syntax should … Software Development | |
I was wondering if programming a hangman game would be possible. I took a little bit of time to make something, but it doesn't seem to be working very well. Any info is appriciated! [code] #include <iostream> using namespace std; int main() { char solution[20]; //holds solution char blank[20]; //holds … | |
I am creating client -server architecture ... 1 server and 20 clients..are attached ... when computer starts client sends abc.txt file information to server ...through socket port no 8000...server take this file and rename with that comp name... problem is -> when number of clients machine on at same time … Software Development c++ client-server | |
Hey guys, I need to find out the length of wav files so as to set a timer. How do I find the length of a wav file? Thanks, jem00 Software Development visual-basic | |
Hi guys, I'm pretty new to VB and am having a little bit of trouble with scroll bars. I have a text box and I want the user to input a value in there but I also want them to increase the value through a scroll bar or decrease the … Software Development visual-basic | |
Hi, I have an html file and I have to extract information from its table. I am new to perl but I would give my approach below so I could get some help.. In the html file the table is like for example a 1 b 2 c 3 d … Software Development perl | |
Hi, After installing jdk1.5 my program is compling but at the time of execution its giving error as Exception in thread main java.lang.NoClassDefFound error.I think it is problem of classpath. Software Development java | |
Hi, I need some algorithms with syntax to work out logical operations using Standard template library(STLs). Please get me some examples of these or teach me regarding logical operations using STLs. Software Development c++ | |
Hi, I have written a web service and have deployed it using Apache Axis2. What I want to do is to invoke this service using a python script. Can anyone point me in the direction of how to do this. I will be grateful If anyone can give me a … | |
okay, this one's supposed to take n numbers, ints/floats, sort them, spit them out... now i have my code, and it looks fine to me, i'm doing bubblesort while checking with a bool function is the first larger than the second string... if i use two numbers, it works fine … Software Development c++ | |
Hai All, i have just completed a course in learning VB.net and would like to do a small project using VB.net. It would be of great help if anyone could suggest a project. -Ganesh Software Development vb.net | |
hi frds. i want to get path of new created folder by save file dialog box. hope you will help me Software Development | |
Hello, I have a textbox which I write data out to. I use "\n" to make sure that the next line of data is written on a new line. This works but I keep getting an unwanted character at the end of each line of data written. It looks like … Software Development | |
Hi, I want to replace the numbers which are less than 5 in a container. So i write a code as follows. But it is not working. Please get me the solution for this. Destination container should be V2 itself. Where we have to specify destination container. [code] replace_if(V2.begin(),V2.end(), //range … | |
I have a headache over this one. what i am trying to do is take the text from a multi-line textbox and put it into one line so i can put that into a file for another program to read one line at a time. is there some way to … Software Development vb.net | |
Hi :) Iam preparing a report on VB6. I wish to have my report printed in the DOS mode using a DotMatrix printer. How will I do it, since Iam not working on the command prompt. Is there any way to solve this issue? Are there any general rules irrespective … Software Development printer visual-basic | |
I have a file dialog.i have filtered out the type of file i need.but how could i open the file in the application after selecting it?after clicking "open" in the dialog , i need to see the file. Software Development c++ file-system | |
Hello, So my program (to calculate n factorial) works well, except for one thing, it won’t output correctly after 12. My other 2 projects working with factorials ( calculating the constant e and e^x) worked because I used data type long. I tried doing it with my program but it … Software Development c++ | |
Hi there, I have a mixed list containing strings, integers, strings with numbers both prefix and suffix and mixed case strings as follow: mixedlist = ["cake", 12, "cakecar", "cAKe", "orange", "apple", "1cake", "cake1"] I'm trying to filter the list for any element containing "cake" so I get a new list … | |
Is this supposed to play on my computer? I can't get the PMIDI module to work. I can write a code and it doesn't show and error, but I can't hear anything. I'm sure the codes are well written(mostly because I've used examples from other places) so does anyone know … Software Development python | |
I'm pretty new to Visual C#. I have a class called Node and a [ICODE]List[/ICODE] of Nodes called children. The goal is to make a Node tree. Each Node except the root Node has exactly one parent. Each Node has 0 or more children. To that effect, as part of … Software Development c# | |
It's my revision question. Please help... Create a Class Employee. This class holds member variables: employee number and salary. It has an array of 4 employees and includes 4 employee number and salary. Has 2 member functions: Get() employee detail, namely number and salary Display() employee detail Create main() I'm … | |
Hello! I would like to sort (by number) a file of data that looks like below: ABGH SDFDS 123 SDFS sDF 12 ... Can somebody help me? Thanks Software Development python | |
Correct me if I'm wrong but... Each time I declare an object without assigning it a value, I am instantiating it (so long as the valid constructors is called upon doing so--) like... [code=c++] Triangle tri1 (3, 4); [/code] and this object exists on the stackk but only for the … Software Development c++ | |
I found some open source code written in C that does most of what I want for a project and am having some trouble making the modifications I need. I am hoping the solution will help me better understand pointers and memory allocation as well. The original code takes in … Software Development c open-source | |
[ICODE] ... am i right to think that the call in the main ( new Grid ...) sets up the board then the (new Che ...) calls to set up the men/pieces which it does (i hope) but it also encounters a setLayout(new Grid ...) which iverwrites all the (new … Software Development java java-swing | |
package packagePgmaLibrarySystemRolandgasparDizon; import javax.swing.SwingUtilities; import java.awt.BorderLayout; import javax.swing.JOptionPane; import javax.swing.JPanel; import javax.swing.JFrame; import java.awt.Dimension; import javax.swing.JLabel; import java.awt.Rectangle; import javax.swing.*; import java.awt.*; import javax.swing.JSlider; import java.awt.GridBagLayout; import javax.swing.border.SoftBevelBorder; import javax.swing.JScrollPane; import javax.swing.JTable; import java.awt.GridBagConstraints; import javax.swing.JButton; import javax.swing.BorderFactory; import javax.swing.border.EtchedBorder; import java.sql.*; import java.awt.event.*; import javax.swing.ImageIcon; import java.awt.SystemColor; import java.awt.Color; … Software Development java java-swing mysql | |
Hello, I am new to proogramming and I need read the elements from two csv files into a 2 vectors and display the elements of vectors. The csv file is in the following fomat: 200, New york, -23.456, 23.455 201,Chicago,-34.5434,34.546 ..... ..... After that I have to perform string matching … | |
I just started messing with Python, and was having a great time with entering Tkinter GUI commands into the Python shell (ActivePython 2.5). Its fun entering commands one at a time and seeing components appear real-time (instead of normal process of having to compile the whole thing first). Anyway, I … |
The End.