132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mizcomscie

[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
Member Avatar for majestic0110
0
132
Member Avatar for alcoheca

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++
Member Avatar for alcoheca
0
804
Member Avatar for toko

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 …

Software Development c++ laptop
Member Avatar for yagiD
0
129
Member Avatar for Nige Ridd

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
Member Avatar for jwenting
0
139
Member Avatar for kv79

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++
Member Avatar for kv79
0
91
Member Avatar for plusplus

Can a form have a different shape than just square or rectangle

Software Development visual-basic
Member Avatar for Burra8
0
101
Member Avatar for kv79

Hi to all. I have no experience with project. [url]http://img98.imageshack.us/my.php?image=problemzc7.jpg[/url] How to connect these files in Dev-C++?

Software Development c++
Member Avatar for kv79
0
189
Member Avatar for Church

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
0
77
Member Avatar for djsingh6000

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++
Member Avatar for Salem
0
87
Member Avatar for sikky_deep

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++
Member Avatar for sikky_deep
0
487
Member Avatar for sikky_deep

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 …

Software Development c++ oracle
Member Avatar for sikky_deep
0
2K
Member Avatar for ruhi

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
Member Avatar for ruhi
0
125
Member Avatar for x102077@hotmail

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
Member Avatar for x102077@hotmail
0
301
Member Avatar for Tom Tolleson

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
Member Avatar for ~s.o.s~
0
203
Member Avatar for lawlao
Member Avatar for hkdani
0
91
Member Avatar for vmanes

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

Software Development c++ ide
Member Avatar for Ancient Dragon
0
119
Member Avatar for Ninjikiran

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
Member Avatar for Ninjikiran
0
163
Member Avatar for snipercat

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++
Member Avatar for WolfPack
0
189
Member Avatar for squidd

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
Member Avatar for squidd
0
153
Member Avatar for Mukoyonzo

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
Member Avatar for Jugortha
0
105
Member Avatar for sammmy

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
Member Avatar for Duoas
0
67
Member Avatar for Ensabahnur

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++
Member Avatar for Ensabahnur
0
219
Member Avatar for majestic0110

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
Member Avatar for majestic0110
0
115
Member Avatar for sparksterz

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
Member Avatar for jwenting
0
147
Member Avatar for johnroach1985

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
Member Avatar for johnroach1985
0
150
Member Avatar for 187

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 …

Software Development c c# c++
Member Avatar for 187
0
364
Member Avatar for mslooks4u

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
Member Avatar for hkdani
0
110
Member Avatar for abhi287

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
Member Avatar for Ezzaral
0
296
Member Avatar for khenzel

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++
Member Avatar for khenzel
0
120
Member Avatar for tgnelson85

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
Member Avatar for Salem
0
183
Member Avatar for emilio

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
Member Avatar for emilio
0
83
Member Avatar for amitkul

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++
Member Avatar for Salem
0
123
Member Avatar for guest11

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
Member Avatar for emurf
0
130
Member Avatar for bajanpoet

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, …

Software Development assembly vb.net
Member Avatar for bajanpoet
0
342
Member Avatar for guest11

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
Member Avatar for guest11
0
102
Member Avatar for bcm

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
Member Avatar for Ramy Mahrous
0
451
Member Avatar for eranga262154

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++
Member Avatar for eranga262154
0
195
Member Avatar for guest11

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
Member Avatar for Ramy Mahrous
0
60
Member Avatar for rizrash

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
Member Avatar for Jishnu
0
188
Member Avatar for eesti44

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 …

Software Development c c# c++ laptop
Member Avatar for Jishnu
0
106
Member Avatar for geethab

Please help me with this. I am counting how many triangles I can find in the attached image. Pl. see the attachment. I do not know how to do it the right way and please fix my code. I tried as best as I can to gather all points that …

Software Development perl
Member Avatar for chrisranjana
0
160
Member Avatar for tomoconnell

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
Member Avatar for vegaseat
0
502
Member Avatar for eranga262154

Hi all, What is the easiest way to convert a CString into a standard C++ sting. Thanks

Software Development c++
Member Avatar for eranga262154
0
273
Member Avatar for Max_Payne

I want to increment the [B]i[/B] without putting the whole statement in a loop. [code=c++] #prag... ostream &operator << ( ostream &output, const Course &xCourse ) { int i = 0; output << " " << i++ << ".| " << xCourse.code << " | " << xCourse.section << " …

Software Development c++
Member Avatar for Ancient Dragon
0
92
Member Avatar for srikanth_dhondi

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
Member Avatar for eggi
0
76
Member Avatar for mb523

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++
Member Avatar for vmanes
0
2K
Member Avatar for ahmed_mido

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
Member Avatar for poonams
0
95
Member Avatar for maxmaxwell

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 …

Software Development c++ legal
Member Avatar for maxmaxwell
0
208
Member Avatar for Cyb3rAssasin

How do I clear the screen without using system("cls");?

Software Development c++
Member Avatar for Cyb3rAssasin
0
81
Member Avatar for jarojasp

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
Member Avatar for hkdani
0
124

The End.