132,726 Archived Topics
Remove Filter ![]() | |
I would like to know which would be a good graphics library to begin with. I am using Allegro, I want to know if this is good enough for 2D graphics like manipulating bitmaps etc. Software Development c++ | |
I wrote a program to write data in a text file to another text file .what i want to do is to open that modified second text file once I've entered data in to that Software Development java | |
i wanted to print random line from a file. i knows how to print out the whole file but doesnt know how should i do to print a random lines from a file!!! hope someone can give me some ideals or an example. thanks! Software Development java | |
I am trying to create an application. One of the task is to insert a row into a DB. I am using db express 5 with visual studio 8. It feels like I have done everthing under the sun, but still to no avail. I know I'm missing something somewhere … Software Development open-source visual-studio | |
Hi Sir, please help me with my code I've already finish the sequence. this is my part : [CODE]#include <iostream.h> int main () { unsigned long int a = 0; unsigned long int b = 1; unsigned long int c; int y = 2; int x = 2; cout << … Software Development c++ | |
Helo frndz, I need a ebook named 'Starting Out With C++ From Control Structurres Through Objects by Tony Gaddis"...If anyone has this book in pdf or chm format, plz PM me to --snipped--. I badly need this book... Thnx Arif | |
can someone help me wit this, why does my form becomes unresponsive when i execute this code: [code=c#] private Thread trd; private int y = 0; delegate void MyDelegate(bool show); private void button1_Click(object sender, EventArgs e) { trd = new Thread(new ThreadStart(this.ThreadTask)); trd.IsBackground = true; trd.Start(); } private void ShowProgressBar(bool … | |
Does anyone know if you can use HttpWebRequest in a Windows Service? I have a small app that checks an IP, works perfectly as a Forms App but does nothing when I convert it too a service. Heres my code: [CODE]Imports System.Net Imports System.IO Public Class Service1 'declare timer Private … Software Development vb.net | |
Can anyone help with this program. Both the functions work fine separately but when for example, I tried to use "if" for simplicity the islower came out as 0 when all the characters were printed out, because it's second in the flow of control. It would also help if I … Software Development c | |
i dont really know whats wrong with this, but its super basic. im not done writing the program yet, im still missing some input prompts for the user, but as i am testing my current program, i keep getting an error message that says line 70 - name lookup of … Software Development c++ | |
Hello. As a new python student we all tried the password program Mine looked like this :) [code] def Password(): password = ent.get() if password == '12345': ent.delete(0,END) ent.insert(0,'Welcome Back Aiban') else: ent.delete(0,END) ent.insert(0,'Incorrect') [/code] ok ... it does it's job and shows me when i get it right or … Software Development python | |
this is weird to explain in the title alone, but i created a program below that works and compiles properly. it does everything i need it to do. user inputs however many scores he/she wants. 6 scores get calculated for the desired calculations. if user inputs more than 6, the … Software Development c++ | |
I have a little situation that I can't seem to resolve and was hoping someone might have some suggestions ... I have a Windows Service (Serv.exe) which runs under LocalSystem when a user is logged-on (it is only running when users are logged-on), this service is responsible for performing various … Software Development c# | |
Hi. I have a function which checks for a placement of a substring in a buffer after recieving it over TPC. It checks for the value up until a '&' appears in the string (As the value can be any length). However, my program crashes if the packet has no … Software Development c++ | |
Hey all I'm having trouble updating my ui across threads using WPF. Having learnt a fair deal about thread yesterday, I find myself stumped now by the Dispatcher. I've already used the dispatcher once, to check the status of a radio button, as follows: [code=c#] if ((Boolean)this.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new noArgsDelegate(productIsChecked))) { … Software Development | |
Hi, does anyone know how to access a sql .mdf file directly using c# without using SQL server. I am planning to make an portable application with a database on a flashdrive, i really need some help.. thank you :) | |
OK semi new, so you may not think my brilliant discovery is oh so brilliant.. But the reprocussions knocked me dead. I found to make code more readable, I can sub class things. So I had in different class files (for readability) File # 1 had... [ICODE]namespace MyLibrary { public … Software Development | |
Hi all. I'm not sure if this is the correct place to post this, but whatever. I have a simple .reg file that adds the command 'Open Dos Box' to the menu that pops up when you right click a file (on windows) I want it to open a DOS … Software Development shell-scripting | |
Hai friends, How to send and receive mail from my gmail account through java program.is there any way to access? Software Development java | |
is it possible to do that??? because I'm now looking to prove something like this scenario I want to buy a laptop but the specs was not given or posted in the window of a certain computer shop??? and they let me test it... but how to assemble the codes … Software Development assembly | |
[B]hello everyone i was wondering what is the best book for beginning c++ apress beginning c from novice to prfessional tech yourself c++ in 21 days..and so on I'm completely newbie and also not good at math either:confused: btw i'm interested in computer programming... so i really want to learn … Software Development c++ ide visual-studio | |
hi i am really stuck now i hope someone can help ok so i have read in a file i have created a dictionary which reads every line and counts how many matches there are compare={} for matching in line: matched =( matching[3],matching[7]) Software Development python | |
Hello, i have some application (windows form) the first window (Main) is a Mdi. i need when the client open the application the main windows will open and will open new win for username and password but the client need to be Unavilable to minimize or close the login win … Software Development | |
![]() | Hey guys, In Java, there is a method called substring, but what substitute does it have in Python, or do I have to explicitly do it like: [CODE] s=raw_input("Enter a sentence: ") s2="" a=0 b=0 for a in s: if(a==' '): s2= s[b:a] b=a a+=1[/CODE] Thanks guys! |
hi, can any one give an idea how to rewrite the .net url using cpp.how to integrate it with the ISAPI Headers in IIS. Regards, Prakash -------------------------------------------------------------------------------- Software Development c++ | |
Hi All, Can somebody post me the logic to find all the occurences of a "substring" in a big string. The function strstr() gives the only first match. Thanks Mahesh Software Development c | |
I have just made a banner in java applets and in status window also i have used a banner but in reverse direction to that of the other banner but the banner in status window does not make use of the whole space of the window and just runs in … Software Development java | |
I need help!!!!! I would like to know how i can restore my mysql db from one form. I got the backup to work using mysqldymp but when I try to restore the .sql file created, nothing I try works. Software Development mysql visual-basic | |
hi all!i have problem to show JPanel in netbean with button here's the code [code=java] private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed NewJPanel x = new NewJPanel(); x.setVisible(true); javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1); jPanel1.setLayout(jPanel1Layout); jPanel1Layout.setHorizontalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGap(0, 30, Short.MAX_VALUE) .addComponent(x) ); jPanel1Layout.setVerticalGroup( jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGap(0, 30, Short.MAX_VALUE) .addComponent(x) ); [/code] my question how … Software Development java java-swing | |
I am studying vb.net and am trying to develop a data access program I am getting the following error when I try to add a new record to the dataset. Any help would be great error " Input string was not in correct format. Could not store<LinenIndex> in LinenItemsID colomn … | |
Im using ifstream to read the content in text file. But i want to ignore the first 5 line content. what i do now is using the own function to ignore 1st 5 line content, then save it into new file and reopen the file again. i think this is … Software Development c++ | |
im not sure whats happening here, but i dont know what code to use to stop the prompts from looping. My exercise is to create a program revolving Array-Based Lists. I simply want the user to input a set of student's records, but the user can input how many he/she … Software Development c++ | |
Hi How do we install the CPAN packages, like CGI-XMLForm-0.10 in the linux system. I basically have idea of ppm through which we install in windows system ... but no idea about linux ... hw do we do it in linux. if we have to use the tar file which … Software Development perl | |
Q: Write a program that will determine if a number is even. The program should ask for a number, say X and printout whether "X is even" or " X is not even". This program must use a method with the signature "public static boolean isEven(int i)". Software Development java | |
hi all, i am pretty new to Python(a very new to this forum). have been programming in C & C++. i have a DLL written in C which i need to use. i would like to access it through Python instead of using Visual C++. i am having a problem … Software Development peer-to-peer python | |
Hi friends, i want to query from excel data(sheet1) and create pivot table in sheet2 and copy that pivot table into .net data table. Is it possible? if yes, plz tell me how to do this? For example my query is "select productname, cost from sheet1" then from query output … Software Development c# | |
i dont know why im getting a compling error for this... error is: line 112 - name lookup of `i' changed for new ISO `for' scoping line 95 - using obsolete binding at `i' what does that even mean?! my current code is below, to get a better understanding. is … Software Development c++ | |
Respected mem, I m struggling to make a project on inventory management system. Which has 5 option on first screen.I will tell u later the remaining. Can u plz. help on this project. Software Development java | |
does anyone have any advice? i created a program and it works fine. my teacher, however, is asking me to have my INPUT and OUTPUT to be subprograms such as the VOID function. i guess my algorithmn has to be.. // struct // void for inputs // void for printing … Software Development c++ | |
Hi All I want to check whether there is a record present in my database with value: StartDate="Todays's Date" where start date is the column name with datatype DATE. | |
Hello, I'm having a problem receiving information with Winsock. I have 2 programs written, one is a server capable of accepting sockets from multiple users, and the other is a simple one socket client. The server uses an array of a user defined data type with a boolean variable and … Software Development c++ client-server | |
Hi! I' m looking for this header source "msp430x26x.h "... could someone help me? If you have the header source, could you send me an email? I'm [email snipped] thanks albert Software Development c | |
Hi All, How can I increase the time for which the ToolTip is displayed. I currently have a radio button for which I have set a tooltip and the content is large. There is not enough time for the User to read it completely. I dont want to use the … Software Development python | |
[CODE] while (true) { // Display the players location and possible movements. cout << "------------------" << endl; cout << "Location: " << NewUser.location->name << endl; cout << "\nDescription: " << NewUser.location->description << endl; if (NewUser.location->north) cout << "(N)orth to: " << NewUser.location->north->name << endl; if (NewUser.location->south) cout << "(S)outh to: … Software Development c++ | |
i dont know if this is wright so help me please...thnks for advance inside my inventory.ini 000001,hamburger,30.50 000002,cheeseburger,21.00 100001,frenchfries,21.00 200001,icedtea,17.00 try to run it.. [code] #include <stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> #define ERROR -1 #define OK 0 #define TRUE 1 #define FALSE 0 /* error codes */ #define ERR_INVALID 1 #define … Software Development c | |
I'm doing some math with floating point numbers and I'm getting weird results. For instance, the result of one of my math problems has an "e" and "+" in it. -4.49255e+013 How do I make it display a value without the weird "e" and "+" Software Development c++ | |
can any one help me find info on modular programming and how to understand it's functions? any links to go to?[TEX][/TEX] Software Development c++ | |
Aside from many projects I'm working on to learn more about general programming and this language it self. I was wondering how do programmers create "program specific files". Examples: Microsoft Word has .doc type files. Adobe Acrobat Reader has .pdf files. Photoshop has .psd files. On a current project I'm … Software Development c c# c++ file-stream pdf |
The End.