132,726 Archived Topics
Remove Filter ![]() | |
[code=java] import java.io.*; public class ACMICPCContestScoring { public static void main(String[] args) throws IOException { BufferedReader dataIn = new BufferedReader(new InputStreamReader(System.in)); BufferedReader br = new BufferedReader(new FileReader (" ")); String s = br.readLine(); String[] array1 = s.split(" "); int numberOfTeams = Integer.parseInt(array1[0]); int numberOfProblems = Integer.parseInt(array1[1]); String[] timeStarted = array1[2].split(":"); … Software Development java | |
Hi, Firstly, this is Win32 console related, otherwise I'd be reading up on the ncurses library.. My program is updating name:value pairs like [B]Name:John[/B] I wish to use WriteConsoleInput to inject the current value into the inputstream so that the user can edit the characters rather than start again. this … Software Development c++ | |
i got a new laptop, and when i try to run dev-c++ nothing happens and i am forced to shut the .exe down using task manager. I've tried running it under administrator but nothing seems to help. It installs fine but when i try running it it crashes. If anyone … | |
Sorry if this is the wrong group to post in - I couldn't think of another suitable one. I'm applying for a job which talks about 'experience using Java/J2EE', I've used Java but not sure if by putting J2EE that they are expecting anything particular? Thanks Nige Software Development java | |
Hi to all I have a little(big) problem of knowledge how to use Resource File. I thought when i open a Dev-C++->File->New->Resource File. The files who have extension on .rc . Can you give me any script about that? So if you willing to help me plz respond. Thank you … Software Development c++ | |
Can a form have a different shape than just square or rectangle Software Development visual-basic | |
I read my text file into a string with something like [CODE]String = My.Computer.FileSystem.ReadAllText("textfile.txt")[/CODE] now the text in the file looks something like xxx xxxx xx xxxxxxx xxxx xxxxx and i have to seperate everything into several arrays.. which really wouldn't be a problem but i can't seem to figure … Software Development visual-basic | |
Hi.. i wanted to make a project for my 12th boards and i chose the topic "Parking Lot Administration". I had started writing all the functions and everything.. but i needed it in BINARY FILE.. n i dont know how to do it.. MY ROUGH CODING IS GIVEN BELOW : … Software Development c++ | |
Hi Friends, I was developing a function for making entries to log files in c++ My function looks like this: [code] void makeLog(int log_level,char *arg,...) { char temp_str[512]={0,}; va_list ap; va_start(ap,arg); vsprintf(temp_str,arg,ap); .. .. } [/code] this function works well most of the time, but some time it generates a … Software Development c++ | |
Hi friends, I m experiencing a problem in a pro*c module. Its a function in a pro*c file which is opening a cursor, and the equivalent of this pro*c code is a block in parse.cpp file line number : 1255 which is sqlcxt(&ctx1, &sqlctx, &sqlstm, &sqlfpn); the module got down … | |
Hi everyone, How to use session value during fetching values from database of that particular session value? [code] SqlDataAdapter adapterprice = new SqlDataAdapter("SELECT product.productid, product.productname, product.price, product.description FROM product where product.productid= Session["productid"] ", myconnection); [/code] During writing code in such a way it is showing error.. Can any one help … Software Development session | |
This is my second c# program and the database stuff is [U]quite [/U]different than vb 6.0, I am obviously missing a line or otherwise have malformed code -- Help! Program is supposed to read in FCC Amateur Radio DB (flat file) and insert data into an Access Database. DB has … Software Development dataset microsoft-access open-source | |
Does any one have a recommendation for a basic Java book for someone who is new to anything other than web development (Javascript and XML). Perhaps something that might include servlet or J2EE? Thanks a lot! THT Software Development java javascript xml | |
From the standpoint of writing the sorts of programs first and second semester C++ courses use (fairly simple command line programs), has anyone found any significant differences in the VS IDE or how C++ programs compile, compared to the 2005 version? thanks, VAl | |
Hmm,I understand by using repne scasb, pointing DI to the base64 string is supposed to search the string for the character that is in the input but not much of how to use it for decoding purposes. Anyway I been looking at the idea that, using the same example Man … Software Development assembly | |
I'm starting a project at work where I will be creating multile threads, within a C++ program. I have been out of the C++ community for a while, spending my time the last few years using Java. Given this, I am trying to learn what the standard interface is for … Software Development c++ | |
I have a new program I am working on and I would like to repeat a portion of code to redo the same thing again, and again. When the program starts, it will give me a number from my NIC card (I think). Ok so I have it going to … Software Development pascal | |
Hi, I have developed my program with three windows forms and would like to bind to the Access database to read data from particular tables, How do I bind? Software Development | |
Hey there am assembling a pos terminal that is using tcp/ip for communication. Has someone got an idea of how i can buffer the received string response from the backend server and use the buffer to print out the request from the terminal? Regards Sam Software Development assembly | |
Hey, guys. I'm working on a program that's supposed to take a phrase that the user inputs, then display the frequency of all letters appearing within that phrase, from most frequent to least frequent. So far, I've managed to get it to display the frequency of the letters in alphabetical … Software Development c++ | |
HI all, been messing around with this game for a while now. last thing I need to do is get the score(bals dodged) to display in the main menu.Now I have had some helpful advice regarding this issue but I have notbeen able to implement it myself. Nevertheless I am … Software Development java java-swing user-interface | |
Ok, I had a lab assigned to me which detailed many different situations in which I had to use recursion in order to solve them. Most of them were pretty simple. However I've been stuck on this Palindrome problem for hours. I know most people's Palindrome issues are with proving … Software Development java | |
Hi. I am working on this project and I am little stuck. Trying to update my gridview after i had added data to the .mdb database but it just won't update. You can find the whole project at [URL="http://johnroach.info/FilmKira.rar"]http://johnroach.info/FilmKira.rar[/URL]The button I have problem with is the "Urun Ekle" button. When … Software Development | |
i have to write a program that checks a palindrome to see if it is in fact a palindrome but i get this warning warning C4800: 'char *' : forcing value to bool 'true' or 'false' (performance warning) and its not quite working any help would be great thanks. [code]#include … | |
Can anybody help me with adding the records of access to combo and then searching through that by typing in the combo Software Development visual-basic | |
Hi i've class project with textfilds id,name.no... when i click ok here another window (another class) opens with same fields but not editable. and when i submit here data goes to db. then how to get values of textfields in project class into current class which i've to send to … Software Development java | |
Hello, i was wondering how i can get my program to function... piecing it together bit by bit. Problem i'm having right now... i'm trying to get my class to point to the array that i have built inside the main function: [code] char n=5; char rndseq[]={16,34,57,79,121}; int ntimes=100000; Prob1Random … Software Development c++ | |
Hello, C question here (running on Linux, though there should be no platform specific code). After reading through a few examples, and following one in a book, for linked lists i thought i would try my own small program. The problem is, I seem to be having trouble with memory, … Software Development c data-structure linked-list | |
hello i have this code int main () { char * arrP1 [ ] = { "father", "mother", NULL}, * arrP2 [ ] = { "sister", "brother", "grandfather", NULL }, * arrP3 [ ] = { "grandmother", NULL}, * arrP4 [ ] = { "uncle", "aunt", NULL }; char ** … Software Development c | |
Hi I am currently working on serial port communication for win32 using C++. I want to know by how many ways the hardware handshaking is possible. I only know three ways 1) None 2) Software, 3) Hardware. Is there any other type or sub type of flow controll is available? Software Development c++ | |
hi all, which datatype we use for storing UInt64 type of value? I want to cast integer value into UInt64 type. How we can do that in vb.net ? Plz can anybody tell me . thanks in advance Regards Guest11 Software Development vb.net | |
I had created an application that worked, was deployed and used for a while before someone asked for an addition. When I tried to run the completed executeable file, I got a System.InvalidOperationException error immediately. When I opened the source code and tried to run it before making any changes, … | |
hi all, My project is build successfully but when i run my program i get an error as "A Project with an ouput type of Class Library cannot be started directly. In order to debug this project, go to the Debugging tab under Configuration Settings in Project Properties, and set … Software Development | |
Can any one please help me in following in [COLOR="Red"]VB.NET2005[/COLOR]: I want that whenever the word setting appears a textbox would be created during runtime i.e here it appears for 4 times so 4 textboxes should be created, if it appears for 5 times then 5 textboxes would be created...... … Software Development vb.net | |
Hi all, For later use I want to create dll file, internally using MFC. I used MFC because it is so easy to do my job. So used the MFC-DLL Visual C++ project and code my project. Its ok. Later add another Console Application which support MFC as well. I … Software Development c++ | |
hi all, I am new in .net. description of my project is as follows. I am making an GIS based application. I am not getting any error except 1 error that is "Post Build Events Failed.". I set Run the post build event property as "On successful build" in Properties->Build … Software Development first-post | |
HEY FRIENDS THIS IS MY EFFROT I'VE MADE A PROGRAM THAT'LL ADD OR SUBTRACT 2 AND THREE DIMENSIONAL MATRICES !! PLEASE SEND YOUR REVIEWS ABOUT THIS PROGRAM AND SUGGESTION ON WHAT IMPORVEMENTS CAN BE MADE IN IT !! AND ALSO I NEED TO KNOW CAN THIS PROGRAM BE MADE BY … Software Development c | |
I have a question. I have been studying C++ and it seems to be getting a tad repetitive. What I really would like to do is more with electronics but also with C++. My laptop only has USB ports. I never wanted to be a programmer but would like to … | |
![]() | |
I am getting very strange results from the following: def list(self) import shelve db = shelve.open(testfile) list = [] cnt = 0 for id in db.keys(): print db[id].info() the testfile was written with an class defined object; What i am finding, is if I write 50 objects, the above code … Software Development python | |
Hi all, What is the easiest way to convert a CString into a standard C++ sting. Thanks Software Development c++ | |
In my script I need to increment a real variable in a loop, which outputs its value to a file. I donno how to do this. Can any one help me in this regard? Thanks Software Development shell-scripting | |
Hello, I am writing a program to determine if an inputted phrase or word is a palindrome. I am to use a separate function to input the string and another to check and see if it is a palindrome or not and return true or false. The first is a … Software Development c++ | |
hi iam new to programming and i want to know how i tell vb.net if it was replied to a msgbox with (yes ) then do something please help me about that Software Development vb.net | |
I have an assignment where I'm supposed to place a knight on a chess board, and using a random number generator, make it move. It cannot visit a space more than once. I've tried this several ways, and started over from the beginning more than once. this is how I … | |
How do I clear the screen without using system("cls");? Software Development c++ | |
Hi guys, I have been programming with vb since version 3 writing commercial applications. I have to write applications using the internet as the base block. I have never dealt with vb and internet controls, so I have no ideas as to how to write an internet app. with vb6. … Software Development vb.net visual-basic |
The End.