43,549 Solved Topics
Remove Filter ![]() | |
I recently received an 'A' on a program I submitted for the programming course I'm currently taking. I'm on spring break and I was hoping to use my spare time to do some studying, so I took my 'A' program and tried to run it in Visual Studio Express, and … Software Development c++ visual-studio | |
print "Hello, World!" ;) Hi, everyone, Venku (a.k.a Python Newb) here. I just kind of randomly opened up Python today (I do that a lot), and I decided I would finally ask this: What does the "is" statement do in Python 2.7.1 (if the ver# matters)? I checked out the … Software Development python | |
I just cant get my head around it. Is there another way going through a singly linked list without using some kind of helper function? The header file wants me to implement: [CODE]size_t priority_queue::size() { /* code here */ }[/CODE] Now I just could create a helper function that has … Software Development c++ linked-list queue | |
I have this homework assignment to make a calculator using a stack and converting infix to postfix. My infix to postfix method works fine. But the other method to evaluate it works for all cases except when multiples or divisors result in double digits. My calculator does not support double … Software Development java | |
Hi, i'm trying to implement a print function and i can print a single string out but i'm having trouble configuring the page setup properly, mainly moving to a new line when the margin of the page is reached and moving to a new lines for each string in a … Software Development c# | |
i want to make a tictactoe game. But i want all the rules are on the classes and call them to GUI. How can i send the ClickHandler public to the GUI??? here is the class code: ( public void ClickHandler ) [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; … Software Development gui | |
i would like to show an image in a datagridview cell giving the path of the image.. how can i do so? | |
HI, I have written a small program that uses a while loop to calculate how many years it takes for an investment to double given an interest rate: However, I think there is something minor wrong with the calculation for years, since when testing I put in 100% it should … Software Development python | |
Hi. i need to count the number of times a button has been clicked in C# windows application. for asp websites i know how to do it using viewstates but i dont know how to do it with windows form application. Any help will be greatly appreciated. Software Development | |
Hello everyone, I am creating a C# application that has a Web Browser imbedded in it. I am using Microsoft Visual Studios C# Express Edition so I just dragged and dropped the web browser into the application. What I notice though, is when I run it and do a search … Software Development web-browser | |
Hello all.. I'm looking for how to count words in textbox. Any help will appreciated. Thank you. Software Development visual-basic | |
[CODE]#created by Jaron Graveley #April 26th, 2011 #This program completes reservations for Jon Von Poechman’s airline in an easy to use program #variable list: #i=counter used to limit the number of seats present on the diagram #n= counter to display the row number on the diagram #num_booked=counts the number of … Software Development python | |
i m using vb.net with oledb connection when retrieving data from EMP database i m getting error as syntax error(comma) in query expression 'eno='1',lname='',fname='' And FromPay=## And ToPay=##' plz help... [CODE] Private Sub PopulateNameList() Dim Connection As New OleDbConnection(ACCESS_CONNECTION_STRING) lvName.Items.Clear() lvName.Sorting = SortOrder.Ascending Dim cmdfill As New OleDbCommand("SELECT eno, lname … Software Development vb.net | |
that is expected output is [CODE] sun mon tue wed thu fri sat 1 2 3 4 5 6 7 8 9 10 .... ... ... 29 30 31 [/CODE] my code: [CODE]static void print_31days(int a[][]){ int i=1; while(i<=31) { int some=0;//some is the startdate of the month of the … Software Development java | |
hi all, i need to develop windows applications(c#,mysql)as i have started to develop applications recently i need some examples to refer(which includes almost all controls) may be like customer maintenance or order placement form etc..so can any one help me out.. thanks a lot, | |
Hi all , i have a string var containing info like this. [B]STRING[/B] = "Are you posting in the most appropriate place [B][COLOR="Red"]PKG0620_REL_23_Nov_2010[/COLOR][/B] to receive relevant replies" So, my program will ask only "PKG0620" info to be given by the user which i am storing in SEARCH var. SEARCH = … | |
i've a problem to split a joining multipe type of file here's my code for joining two diff type file, pict file (jpg) and audio file(mp3) an ouput is pict file contains audio file in it. a problem is how do i check this file is joining file or not? … Software Development audio file-system python | |
Hi, I need code to invert the selected items in list view. Can any one help me out.. Thanks in advance for help.. Regards, Sravanthi Ch Software Development listview | |
How can i create a task to run a program by coding in vb6 and 2010 Software Development visual-basic | |
Hello I'm learning a bit about data structures for the first time and so far I seem to understand how they work "I think" at this stage. My questions at this point would be. 1. Are data structures essentially classes minus methods which can preform actions on the memebers that … Software Development c++ data-structure | |
Hello, I have spent numerous hours re-working this code and I hope someone can clear up my confusion! This program asks the user to enter a file name which will then create and display that file with a poem in all caps. The user is again prompted to enter another … | |
Hello friends, I searching for "Combination generator" and I found something but not this what I need me... I want to write a script who will generate all possible combination by given string and range of length. e.g. string = "daniweb" length_range (3, 5) The results should be: _____________ ddd … Software Development python | |
This is when I try to output uninitialized characters on the screen. I thought C++ should declare all of them to 0's (or '\0' for characters) when I declare them without initializing? Software Development c++ | |
Im trying to make an application that collects how many items were sold and which items they were, I was thinking something like this for checking the upc number, to see if it matches the names in the “files” [CODE] Select Case TextBox1.Text ' 0921115150 “Dark Chocolate Truffles”, 2221001501 “ … ![]() | |
hi all , can i access the parallel port using c`s assembly language syntax and using windows 98 se as the os or xp if i could (dont think xp is possible though, i dunno?) AOAP Thanks for reading , gruffy bw , if is possible can i get direction … | |
I made a program using Sockets, pretty interesting, but I have found some "problems" that bother me, my game is threaded and in its run method it has a lot of if statements for the different behaviors when it receives a certain String from the server. Is there any other … Software Development client-server java | |
[CODE]class mymatrix{ private: int** arr; int m ,n; public: mymatrix() { std::cout<<"\nConstructor entered."; std::cout<<"\nEnter no. of rows of the matrix:"; std::cin>>m; std::cout<<"\nEnter no. of columns of the matrix:"; std::cin>>n; arr = new int*[m]; for(int i=0;i<m;i++) { arr[i]=new int[n]; } std::cout<<"\nConstructor exited."; } /****************************************************************************************/ mymatrix (mymatrix& t) { m=t.m; n=t.n; std::cout<<"\nCopy … Software Development c++ | |
I am making a diplomacy tool, for the board game diplomacy. I need to make a map of each territory. I have a 75 #define MAP_"NAME" lines but I don't know how to set them to a mask value that can be checked since I don't know any 75-bit or … Software Development c++ | |
Hi I wrote a script for class that took one specific file as an input. Ideally, it should be able to take any file as an input. How do I do that? Someone suggested using $@ since is a global variable but I'm kinda confused on how to implement it. … Software Development shell-scripting | |
Hi, Could someone explain to me how to create, store and manipulate variables please? At the moment i have this but I get errors: [code] BUTTONPRESSED DEFINE 0x000000 LDR r4, =BUTTONPRESSED ;Seems to be ok ADD r4, r4, #1 ;Seems to be ok MOV BUTTONPRESSED, r4 ;'Operand Syntax Error'[/code] All … Software Development assembly | |
i have a few .c files, pro3.c is the only file that complies without a problem however when i go to compile the other ones i get a error message: warning useless storage class specifier in empty declaration, i was hoping someone could tell/show me what i am doing wrong. … | |
Hi! I am looking for something to compact the clear and push_back in one line... [CODE] std::vector<int> v(3,100); v.clear(); v.push_back(4); [/CODE] I have thought that vector::swap may be usefull for this task but still figuring out how. Any sugestion or idea? Thank you in advance! Software Development c++ | |
Okay this feels like a really silly question. Values that I have set to private should be able to be used through out that class alone, yeah. Say I have this: [code] #include <iostream> using namespace std; class Telegram{ public: Telegram(); ~Telegram(); void getData(); private: int **telegram; int rows, cols; … Software Development c++ | |
i have datagrid view which uses dataset.. i would like to filter my datagridview by idCardNumber (getting it from the textbox1) how can i do so? could u explain pls? Software Development dataset | |
I got a dataset which contains the following data: id code description eff_date end_date --------------------------------------------------------- 1 ADV ADVANCE 2007-12-01 2007-12-31 2 ADV ADVANCE 2008-01-01 3 BUS BUS TICKET 2005-03-09 2007-04-05 4 BUS BUS TICKET 2007-04-06 5 PET PETROL FEES 2008-01-02 2009-10-11 6 PET PETROL FEES 2009-10-12 7 BOK BOOK 2010-01-01 … | |
Hi, Anyone know how to delete items from recycle bin? please help. Best regards. Software Development visual-basic | |
Hi Guru's I would like to be able to run code from a text file - is that possible. Ideally multiple applications will read this file and all behave according to the code inside the file. rather than having to keep rebuilding and distributing new versions./ I can't think of … Software Development vb.net | |
[COLOR="Red"]txtIDCardNo.Text = c.IDCardNumber.ToString();[/COLOR] why is it giving me a [COLOR="Red"]nullreferenceexception[/COLOR]? Software Development | |
Hi all I have a simple program which calculates some values for me. Let's say I receive some money in advance, go to a trip and spend some money there (not necessary in the same currency that I received advance in. Now if I spent more money then advanced, I … Software Development vb.net | |
Hi! I'm learning how to make a GUI in Java. I'm wondering how to add a JThingy (JLabel, etc) without the use of the add(NameOfJThingy); Because add(); isn't static, you can't use it in a static function (like main, which must be static). I've seen that the constructor can help, … | |
while debugging my code in code blocks I always get this error "<filename> - Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! what should I do? Software Development c++ | |
I have a quick question that I'm hoping someone can help me with on here. I have 2 2d int arrays that I create for a board state and a solution that look something like this: int[][] P1 = new int[][]{{0,2,0,0,0,0},{0,0,3,0,0,0},{5,0,0,0,0,0} etc. ect. They're 6x6 arrays and I need a … Software Development java | |
how do i move the value of %eax to the memory location of %0 [CODE] int size 10; long *list = (long*) malloc(size*sizeof(long)); asm( movl $999, %%eax movl %eax, (%0) // this is what im trying, how do i fix it? :"=r"(list) :"0"(list), "a"(strLen) );[/CODE] Software Development c | |
Hi, this is a clue game in prolog. [B][U]I'm posting it to thank everyone that takes the time to post and help people, like me.[/U][/B] The program is spanish, cause in from México, but it's a clue game. Features: Write and read *.txt files, and use their content to compare … Software Development gaming | |
EDIT: My problem was solved. :) But I have a doubt, what is the most effective way to wait for something to happen in java? for example, if I want to wait for a boolean b to be true, does this below work? [CODE=java]while(!b) {} //stuff to do after wait … Software Development java | |
Hi All,, Same as the title, Can we clear all textboxes in same time? this is possible? Its consume many time to code if we have to write clear code for every textbox. Best Regards Software Development visual-basic | |
any idea how to use autocomplete in the textbox getting the records from database? i tried using the properties of textbox. But if the table is updated then autocompleteCustomSource is not updated... please guide me.. thank u. Software Development vb.net | |
i have a private sub that reads 4 lines of data from a text file, and then uses whats read and stores them in varibles. see below [CODE] Dim FileName As String = configfileV Dim TextFromTheFile As String ' Whole text Dim Lines() As String ' File splitted to lines … | |
The End.