132,726 Archived Topics
Remove Filter ![]() | |
I'm doing a homework for my programming class, the following code is a part of my code which I cut out and formatted to be a 'runnable' program. Now, if you run it you'll notice it creates a data.txt file, writing the amount of student IDs in the record as … Software Development c++ file-system ios | |
I use the dev c++ IDE and was wondering if there is anyway in c++ or using system commands to send text packages to another computer that can be received by the other computer to process the information. | |
Hi all! I'm trying to write a program using the GetCursorPos() and SetCursorPos() functions. When my program isn't sleeping, I want it to set the cursor position to +1 (each axis) of what it is when I call GetCursorPos(). [code]#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int … Software Development c++ | |
Please let me know how to take the system date and time through VB6."There is a text box,caption must be the system date and time".So how to do it?give me the cordings of it.Please... Software Development visual-basic | |
Say if we ve certain private methods along with private data members and public methods. other than friend function is thr any other way we access these members(they being private only) directly. its one of the requirements in a project of mine. The real prob comes when accessing function. say … Software Development c++ | |
I need to create a program where the user selects addition, subtraction, or multiplication, and when they select one, 2 random numbers appear, and they must put in the right answer. The problem is, i cant get the correct answer. It just says: Would you like to play again? [code] … Software Development c++ | |
Hi guys i am pretty new to XML. Well I have transform a xml file in format A(let's say) to format B. By surfing the websites, I found that XLST can do this.But these 2 formats dun not neccesarily have easy transforms like tag-to-tag. They can be transformed from tag-to-tag,tag-to-attribute … Software Development xml | |
I was absent for the discussion and lab due to illness and I am at a total loss as to how to do this assignment. Implement the my_string class in header file my_string.h, so that the test code given below reports SUCCESS. [code] // test_my_string.cpp #include <iostream> #include <string> #include … Software Development c++ | |
[COLOR=#0000ff]I am writing a code in VB.NET to access MS Outlook folders.Its giving all the folders and their msgs but when any calender meeting or any other things other than the mails appears any the folders like deleted items ,Inbox etc. then it shows exception in line oMsg = oItems.Item(i) … Software Development microsoft-access microsoft-office vb.net | |
Hi, I am having a problem with the below,basically what I'm trying to do is allow the user to enter upper case,lower case ,or alternating text ..like Cw888 or cW888 for example using [B]or[/B] ... it works fine for one command button,that is it displays the error message if the … Software Development visual-basic | |
Hi there, I am sitting here and thinking. The best way to learn a new language is to play in it, but I have a little problem: I don't know where to start , how about a few ideas Software Development python | |
Hi I need some help.... Here is what Im trying to do....I havent worked with java in about 4 years. I have created a JOptionpane showInputDialog with a list of options to choose from inside a method. What I want to do next is once one of those options is … Software Development java | |
hello every one i had some erros in my code can you plz fix it to me coz i didnt know how to fix it this is my code : DOSSEG .model small .stack 100h .data redbox db 10, 30, 13, 40 lbox db 10, 30, 13, 40 db 10, … Software Development assembly | |
Hi, I am trying to use a command setprecision from the <iomanip.h> header. It works well when i declare the number of decimals to display to the right of the decimal point, however i am attempting to have the user input how many places of precision they want. So far … Software Development c++ | |
![]() | I'm Trying to write a program that will automatically open a .exe file enter a piece of text in a specific textbok and then exectute itself. I'm new to perl and can't seem to find any of the answers in my books or online. I'm running Perl through the windows … Software Development perl ![]() |
hello every1! Im a newbie to vb.Net and i have done my best to workout a solution for this challenge but i keep hitting walls. i would appreciate it if some1 could help me with it, thanks in advance!! My application is 99% complete except for this 1 problem: the … Software Development vb.net | |
guys, i am making a program in java. i have to use a sorting agoritm. i manage to get some from the internet but it seems that they are too technical and hard to understand and i dont know where to put them and how to use them. here is … Software Development algorithm java java-swing | |
[CODE=c++]#include <cstdlib> #include <iostream> #include <string> #include <algorithm> using namespace std; int main() { string foo = "123"; if(count_if(foo.begin(), foo.end(), isdigit) == foo.size()) { cout << "\nGreat!\n"; } cin.get() }[/CODE] Does not work on bloodshed v4.9.9.2!!! It outputs the following error: [QUOTE]no matching function for call to `count_if(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, … | |
/*****in the book ive read, they gave me a code which will be placed in the .rss file as shown below...*****/ RESOURCE LISTBOX r_demo_listbox { flags = EAknListBoxSelectionList; array_id = r_demo_listbox_items; } RESOURCE ARRAY r_demo_listbox_items { items = { LBUF { txt = "Item1"; }, LBUF { txt = "Item2"; … Software Development c | |
hai, This is punitha.Iam having some doubts regarding python (python extending with c).In our application python is used as a glue language.It is used to call c funcions(which is in the form of dlls).Once a c function is called,Pyhton variable receives the return value and it passes that value to … Software Development python user-interface | |
Stuck with it for hours. Haven't slept since... Well, can't really remember. So can anyone help me out and point out what is wrong here? [code]program Taht; uses Crt,Graph; const Star1:array[1..18] of integer= (75,0,100,50,150,75,100,100,75,150,50,100,0,75,50,50,75,0); Star2:array[1..18] of integer= (200,150,225,175,200,200,175,225,150,200,125,175,150,150,175,125,200,150); var DriverVar:integer; ModeVar:integer; begin DriverVar:=Detect; InitGraph(DriverVar, ModeVar,''); SetFillStyle(1,Blue); FillPoly(9,Star1); SetFillStyle(8,Green); FillPoly(9,Star2); SetFillStyle(8,Green); … Software Development pascal | |
Create a DVD rental shop system using OBJECT ORIENTED programming approach. The system will create a list of ten DVD’s that can be rented from the rental shop. The system is used via the command line. When the shop begins trading a list of available DVD’s will be displayed. The … | |
I have a function which should work, and it actually does... just not all the time. Sometimes it just freezes. Can anyone identify a problem in the ai_northAmericaCheck(): function? Here is the code: [php] import random ai_countries = [] firstTurnsCountries = [] northAmericaList = [0,1,2,3,4,5,6,7,8,9] availableCountries = range(20) country0value = … Software Development python | |
About one month ago or so my Dr. Python compiler (interpreter) died. I had closed Dr. Python to go and eat dinner then came back to re-open and continued where I had stopped and... nothing. This came at a terrible time as I was in the middle of some very … | |
I dont know how to use CopyFile() function in my "program" Can you help me? [CODE]#include <iostream> #include <windows.h> using namespace std; int main() { CopyFile(`C:\\start.exe` `C:\\Program Files\\banana`); system("color 2"); cout<<"POZDRAVLJEN UPORABNIK\n"; cout<<"STRAN WWW.EX-PLANET.COM TE POZDRAVLJA!\n"; system("start www.ex-planet.com"); cout<<"UPAM, DA SE BOS REGSTRIRAL NA NJEJ!\n"; cout<<"OBILO UZITKOV OB PREBIRANJU IN … | |
Hi, this is my first post, and im trying to compare a matrix to find the minus element greater than zero, my list is matrix= [9,8,12,15], [0,11,15,18], [0,0,10,13], [0,0,0,5] I dont want to use "min" function because each element is associated to (X,Y) position. Thanks a lot ! jDSL Software Development first-post python | |
Hello, I have three classes: Circle, Canvas and GameBoard. When I try to compile this I get the error `'cannot resolve symbol - constructor Circle(int,int,java.lang.string)'` I noticed if I delete the parameters of the Circle it will compile. Please could anyone tell me why it doesnt understand the parameters? Do … Software Development java | |
I have to do a Project in C++I in mid level in C++. Can anybody provide me some guidelines. Thanking You. | |
I know that one has to be careful with mutable arguments like lists applied to function calls, so that things like this won't accidentally happen: [php]def add_item(list2): list2.append(99) return list2 list1 = [1, 2, 3] list3 = add_item(list1) print list1 # [1, 2, 3, 99] oops! print list3 # [1, … Software Development python | |
i am using CreateThread to, unsurprisingly, start a thread :p is it possible to return a value? i need to return either true or false at least. ideally i need to return 0, 1 or 2 to indicate the success of certain things that go on inside the thread. I … Software Development c | |
Hi, I am a dev-pascal program maker that wants to know how to read a line for a limited amount of time. Like for example, if I only wanted to give the user 1 second or 1 milisecond to send in data, how do I do it? Software Development pascal | |
Hello, I'm still very new to C++ and have encountered some trouble in understanding how exactly the copy constructor for a stack class (given as an example in the book I've been learning from) using a linked list works. The interface for the classes: [code=c] template<class T> class Node { … Software Development c++ linked-list | |
Im REALLY new to Java Programming and wanted to teach myself java. I download the newest version of the JDK from the website and have run into the javac problem. I keep getting the error that javac is not found or its not a operable program. (Something like that.) I've … Software Development java | |
Hello everyone. I read a couple of tutorials on x86 assembly a while ago. It was made clear in these that certain instructions need to be included at the end of a program to make it close properly. However, there was some inconsistency about how a program should be terminated. … Software Development assembly | |
Hello, I am an experianced dev-pascal programmer who would like to know more functions. If anybody knows any more code than the code up to uses files and text files, please post it here. Software Development first-post pascal | |
[COLOR=#0000ff][COLOR=black]I am using Visual Basic Express, I hope you all still can help me. This program is used to calculate a cars speed related to speed limit. It has two user inputs, cars speed and speed limit. It will calculate any two digit # and one digit #, but when … Software Development vb.net visual-basic | |
Hi, I am beginner of VB. Now I am working on VB 6. The project that I am working was working properly. I have added another form to that project. While inserting text box values into the database it is giving error 424- object required. When I insert the values … Software Development visual-basic | |
Does anyone know how to do single instance in VB.. Pls help me... Software Development visual-basic | |
Ok ive made a VB blackjack game. just wanted to know if anyone can spot any problems (its homework) [code] [COLOR=#0000ff]Public[/COLOR][COLOR=#000000] pc1 [/COLOR][COLOR=#0000ff]As[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]New[/COLOR][COLOR=#000000] card[/COLOR] [COLOR=#0000ff]Public[/COLOR] pc2 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] pc3 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] pc4 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] pc5 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card [COLOR=#0000ff]Public[/COLOR] dc1 [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]New[/COLOR] card … Software Development vb.net | |
my program will ask the user his last name and his first name. after that it will do a search to see if the last name and firstname matches with the list. if it does then it prints out the phone number if not then it will say name not … Software Development java | |
String serverName = ? String portNumber = ? String sid = ? Plz answer my above queries , while conecting with oracle 9i and Java.... its urgent !!! | |
I am trying to link a class from the book “Core Java” that has worked for years. The class is called “Format”. When I try to compile, I get the error message: cannot resolve symbol symbol: method atof (java.lang.String) location: class Format The code that generates this error is: fYrDefol[j][iDay] … Software Development java | |
this question want the calender,with a number of week and days. in germany,the 1st week is started with monday.i have a problem with the year 2000 and the month is in january.when i type it, it shows the 1st week is in 10th.january 2000, it should be on 3rd january … Software Development c++ | |
Hi, i dont know [I]<<edited profanity>>[/I] about C. But maybe you can help me in some really light coding (i think). I want to do a plug in for any RTF editor, like wordpad, in which User-Defined Keywords, are highlighted. In this plugin it will also be possible to save … Software Development c | |
Hi, I have made a simple Hello World tutorial for free download at a quick website I made. The website is [URL="http://www.freewebs.com/helloworldpascal"]here[/URL]. Software Development pascal | |
Hi, I'm having a problem with retrieving the text from a combobox. When i do the index of where the text is in the combobox is returned as well as the text. My code is as follows: [code] //default video format dirac_encoder_presets_t preset = VIDEO_FORMAT_CUSTOM; //get the video format selected … | |
Hi, I am trying to average student GPA. I thought I had this problem solved but then I ran it and the GPA did not come out correct. Can anyone give any suggestions? [CODE]import string import math class Student: def __init__(self, name, hours, qpoints): self.name = name self.hours = float(hours) … Software Development python | |
Can i have a link to a program that deletes or fixes errors on the computer, cause my computer is working very very slowly, thnxs. Software Development |
The End.