132,726 Archived Topics
Remove Filter ![]() | |
Hi all I have written a program to issue a bursary according to the amount of modules passed in 2007 and the amount registered for in 2008 , basically if the student did not pass any modules in 2007 :no bursary if the student passed 1 or 2 modules in … Software Development c++ | |
i recently started python and i wanna learn how to implement modules in my program, but when ever i try to string modules together it says function not callable how do u make functions callable and if u cant then how would u put this code 'readTextfile.py--reads and displays text … Software Development python | |
How can I get every Token (word) and PreviousToken(Previous word) From text file For example if the text file content is "Every man has a price. Every woman has a price." First Token(word) is "Every" PreviousToken(Previous word) is none(no previos) Second Token(word) is "man" PreviousToken(Previous word) is "Every" Third Token(word) … Software Development file-system python | |
Ok heres the deal i need to make this program that will allow users to practice their addition and subtraction for whole numbers between 1 and 100, 1 and 200 and 1 and 500 (the levels of difficulty). The user will be allowed to choose which operation to have questions … Software Development gui mathematics python ![]() | |
I'm writing a program that takes an input string and gets the length and/or gets the number of vowels and consonants in the string. I've gotten it working except for consideration of spaces (which are allowed) and error checking for input other than letters. Here is what I've got so … Software Development gui java java-swing | |
it says two teams A & B have to play a match, and we have to find probability of team A. I can't understand the way to calculate its percentage. The main points are: 1) the match is played by two teams: A and B; 2) the first team to … Software Development c++ | |
I have an assignment to make a text-based snakes and ladders game using Dev-C++. I have so far made a splash screen and a menu (with colours and sounds, pretty cool) using the winmm.a library and the switch/case construct. I have even been able to get player names with a … Software Development c++ | |
I am trying to write a program that can sense if Any changes was made to the file: [COLOR="Green"]"C:\\Folder1\\One\\File5.txt"[/COLOR] If Any changes was made, then this file will be copied to destination: [COLOR="green"]"C:\\Folder1\\Two\\File5.txt"[/COLOR] So what happens is that the destinationfile will be "Overwrited". I have started out som code but … Software Development c++ file-system | |
Hello all, im rather confused about what's wrong with my code.... it says non-static method add(E) cannot be referenced from a static context, yet i can't see any reference to a static context.... here is my code; thanks in advance! import java.util.*; public class person { public String name[]; public … Software Development java | |
hello .... I need a java code that convert from eqn ( or bench ) format to verilog format.... Does anyone has an idea?! Thanks in advance.... Software Development java | |
[code] Hello, I am writing a small java code which read from a text file line by line and parses each read line(hash seperated). Here is the code snippet: in =new BufferedReader(new InputStreamReader(new FileInputStream("file.txt"))); while((linedata =in.readLine())!=null) { System.out.println("Linedata: "+linedata); strparse = linedata.split("#"); line = strparse[1]; System.out.println("Line Number:"+strparse[1]); } the data … Software Development java | |
:S Can you explain me how to link classes with each other? Software Development c++ | |
Hello everybody, I have a problem regarding setfocus. I have a datagrid with 3 columns: MinAge, MaxAge and Code. In Code column I need to generate a code on set focus event. I mean ... when you click on Code textbox (in edit mode) to appear automatically the code. Can … Software Development | |
[code=c++]//Four In a Row #include <iostream> #include <string> #include <vector> #include <algorithm> #include <cctype> #include <cstdlib> #include <ctime> using namespace std; // global constants const char X = 'X'; const char O = 'O'; const char EMPTY = ' '; const char TIE = 'T'; const char NO_ONE = 'N'; … | |
Dear All I am using the API calls to ReadFile and WriteFile to access data coming in on serial ports and sending commands out to devices on Serial ports. Everything works fine in the VB6 developer. When I compile the programme I can compile to P-Code and everything works fine. … Software Development api visual-basic | |
I'm trying to make a level that can be edited in game for a pong-like game. So far, this is what I have: [code] import java.awt.*; import java.applet.*; public class LevelEditor extends Board { public static final String row1 = "::::gggggggggggggggggg"; public static String row2 = "::::g::::::::::::::::g"; public static String … Software Development java | |
Hello everyone, I am completely new to this website and happened to have come across this while browsing. I am stuck up in my project and just need some help. I am developing a system for my client which is a non-profit organization htat run local trains in our area. … | |
i have in vb6 2 proyects in one.....now there group into one....but from proyect 1 how can i call a form from proyect 2.... Example From Proyect1 From1 a Comand Click To open or Call Proyect2 Form2 To show.... Please help if is posible..... Software Development visual-basic | |
Does anyone have a custom function to Remove a child node from a TreeView and move it to another child? That may not make sense, so here's an Example: [code] Private Sub Form_Load() Dim Test As Node Dim Test2 As Node Set Test = TreeView1.Nodes.Add(, , "Testing", "Testing") Test.Expanded = … Software Development visual-basic | |
i am making a simple calculater , and know think i doing correctly but when i compile it it has error like this Exception in thread "main" java.lang.Error: Unresolved compilation problems: Syntax error, insert "}" to complete SwitchBlock Syntax error, insert "}" to complete Block Syntax error, insert "}" to … Software Development java | |
Hi! I have a class: [CODE=python]class A(object): calledMethod = None def a1(self): pass def a2(self): pass[/CODE] Now when I create an object and call some method: [CODE=python]a = A() a.a1() #or a.a2()[/CODE] I need somehow to save the name of called method in variable calledMethod. Could this be done with … Software Development python | |
HI all, whenever we open any python/wxpython program there is one more window other than our application is running which is command line window that black window for showing any error or any output through print statement.So i want to remove that window from my wxpython's application,how to do this?please … Software Development python | |
hi there i want my forms do not move is there any property that sets it at a fixed position thank u very much Software Development visual-basic | |
I have a problem in printing out the permutation of various characters grouped together like string 0 has"ABC" 1: "DEF" 2:"GHI" 3:"JKL" 4."MNO" 5."PRS" 6."TUV" 7."WXY" now i have to print all the permutation of the characters to form 1 letter to 12 letter words lets say i have 2512 … Software Development c++ | |
write a gui program to compute the amount of a certificate of deposit on maturity.the sample data follows: Amount deposited 8000.00 Years 15 Interest Rate 7.75 [B]Hint: compute 8000.00(1+7.75/100)to the power of 15[/B] | |
Hi.. I have created a shared object by developing and compiling it on RHEL 5. Than I tried to use same shared object on RHEL 4 and SuSe 10.0.But it didn t work.Error message shown was " Floating point exception". Machine architecture was same for all the three distos. So … | |
Hello all, I'm writing a program that gets an input string entered and I was wondering if there is an exception thrown so that the string is valid only if it is all letters. I can find exceptions thrown for only doubles, int.... as valid input but none for only … Software Development java | |
I have a programming assignment to write the Knight's Tour. I have completed the code using simple recursive calls, my problem seems to be if the user enters any starting location the program takes longer then 45 minutes to complete and I am not sure if it even completes because … Software Development c++ | |
I happened to try find the total number of ways a horse can cover all 64 squares in a chess board without visiting a square more than once starting from one corner. All I was able to do was to use a brute force algorithm which run for a whole … | |
Hi, I'm looking for some assistance to begin coding in Java, and I don't really know where to begin. I'm still attending school, and will be taking Java as an elective, but I still want to try to get a head-start, because I am very proficient in math, love (and … Software Development java | |
Plain and simple. I want to do this: [url]http://www.codeproject.com/KB/dialog/csSlideForm/SlideForm_Main.gif[/url] ...on VB.NET, yet I haven't the least idea about where to start. I've searched plenty without luck. Thanks in advance. Software Development vb.net | |
I am new to java coding.I m struggling to make a below project. Can u plz. help on this project. Doctor Online Discussion Form This System is mainly used by Doctors, Dentists, Optometrists, and any medical professional. Medical Professionals use photos on a daily basis in the practice of medicine. … Software Development java | |
can we force a c++ program to end after a certain amount of time i want to force my program to quit after a certain amount of time so that it would not go on for ever..... :) Software Development c++ | |
I just started to learn C++ after I have been programing in C. I use vim and the GNU compiler in terminal to create my programs. When I was working in C I made a generic one-file Makefile so I did have to write out all the tags/switches every time … Software Development c++ | |
I've been looking for answers to this problem for awhile, and none of what I find seems to work. I have a program that creates a database, and a form based on that database, where the form fields are movable (the user can drag them around in the form) in … | |
I don't want my programs to access the file system at all means no file creation, no deletion not even the a single stream for accessing files. how can i do that Software Development c++ file-stream | |
For this project we’ll consider a small business that needs an order tracking system. An Order is placed by a customer to purchase a product. The order system must be a menu-driven system that allows the user to add orders, view an order, find an order(s) by date, or list … Software Development c++ | |
Hey everyone, I'm trying to make a perl script that logs me into my account, and fills this form for me for my job, but i cant get it past a drop down menu, wat a person would manually do is put the mouse over this button, and list would … | |
Hi, I'm very new to C++ and was wondering how I would go about searching for a string (AT+COPS?) in a file and displaying everything to the right of the string, could someone point me in the direction of a guide cheers Software Development c++ | |
[code]Public Class Form1 Private Structure word Dim b1 As Byte Dim b2 As Byte Dim b3 As Byte Dim b4 As Byte End Structure Private Function CircShiftLeftW(ByVal w As word, ByVal n As Integer) As word Dim d1 As Double, d2 As Double d1 = WordToDouble(w) d2 = d1 d1 … Software Development vb.net | |
How can i restrict the total memory usage of a program. i have to check certain code but i want to restrict the rem used by the program when running. please help me out Software Development c++ | |
My appologies if this has been answered before but I couldnt find a specific answer/response. Basically Im wondering how I would assure each random number is one that hasnt been produced already. In the program below Im trying to use the random number produced to act as a specific number … Software Development c++ | |
Hi I have a function dela ( ) and I want to call it by user (c) times, but I get an error. [COLOR="Red"]Traceback (most recent call last): File "C:/Python25/My programs/extra_b.py", line 21, in <module> for j in range (c): TypeError: range() integer end argument expected, got str.[/COLOR][code=python] if __name__ … Software Development python | |
hi guys i am trying to create a button that sends all the data returned from my ms access database into the fields of my jframe to the printer for a hardcopy, i have created a button to exit the frame, but now i am having difficulties creating a print … Software Development java java-swing printer | |
I have problems with the map, in the below loop. [CODE] //iterator declared as "it" and map declared as "aMap" //key of a map declared as "key" while(true){ for(it = aMap.begin(); it != aMap.end(); it++){ //some processing if(//some condition){ //some processing aMap.erase(key); it--; } } //some processing //some conditions to … Software Development c++ | |
Hi, I have a XML file generated externally,i need to traverse through that file and then make certain changes to the XML file or add new attributes to that file.How can i go about it?This eventually will be a Pro*C code.Kindly help me out.Thanks. Software Development c++ file-system xml | |
I have to call a function in the form f(void* params) I would like to pass two vector<double> to this function. I suppose I should make a struct struct MyParam_t { vector<double> myvector1; vector<double> myvector2; }; and then somehow fill it and pass it to the function. Someone recommended that … Software Development c++ | |
I am wondering how a "Managed vector" is declared. I have worked much with: std::vector<string> OneVector; How is the same declared for a Managed type ? What I am trying to do is to translate this to managed: [code] std::vector<string> OneVector; std::string Stuff = "Hello"; OneVector.push_back(Stuff); [/code] At the same … Software Development c++ | |
Hi Everyone , I have some doubts which i have encounteered when i was working on a project of mine, 1)I was wondering whether system("sky.exe") could have variables in it. can i use a string in the place of "sky.exe" something like this [code] string s; s="sky.exe"; system(s); [/CODE] 2) … Software Development c++ |
The End.