43,549 Solved Topics
Remove Filter ![]() | |
Guys, can you help me with my project I can't see what's wrong with my program. The errors are: Line 138: Expected primary-expression before "int" Line 138: Expected ';' before "int" Line 158: Expected '}' at end of input #include<iostream> using namespace std; int telephone_bill() { int choice, min, tbill, … Software Development c++ | |
Hi everyone, I just downloaded and installed numpy, and I'd like to give it a try. But I can't seem to import it. When I try, this is what happens: Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32 Type "copyright", "credits" or "license()" for … Software Development python | |
First of all, I should say I'm brand new to PyGame and am pretty new to advanced Python. I'm trying to make a side-scrolling game but just making a sprite move back and forth with keyboard input is proving to be a problem. It appears that the loop is running … Software Development python | |
Hello! I am coding in windows form application c++/CLR I need help with coding a way to read everything in a folder, put the names of the files and put the names in a combobox. These files are for now images (.jpeg). And I would also like that, when I … Software Development c++ | |
I want to retrive data from table to combobox I used this coding though I didn't get an error the outpiut(data) is not displaing in the combobox Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MessageBox.Show("Please Insert the Sample note no", "Information", MessageBoxButtons.OK, MessageBoxIcon.Information) Try myConnection … | |
I'm trying to pass a .txt file as a paramater into my java program. The line that reads in the file is: Scanner in = new Scanner(System.in); My program is titled SetTest and the file I'm trying to read is Ted.txt. If I go to a Windows 7 command prompt … Software Development file-system java | |
I think i have understood the basic locks , synchronized statements and methods etc etc . I would like to actually program something that used all this. Something that is prone to breaking if one is not careful , also would love if there is swing involved ( i read … Software Development java java-swing | |
Hello All, I want to add a functionality to my WPF usercontrol in the Head section like the image below :-  Could someone please suggest some approach on how to achieve the same ? Software Development asp.net | |
I can search and find text in word doc through vba but I dont understand how to search images Its a big problem to me Can anybody help me thanks in advance Software Development visual-basic | |
i made on screen keyboard program with visual basic 2008, i run it, its working great, i save it and then i wanted to open it again to review it, but its only showing me the code, i can not run it anymore. Anybody give me an answer to my … Software Development visual-basic | |
Hello everybody~! I'm trying to install the latest version of pyHook for my Python 3.3.2 shell. I am a new coder in Python, all though I am rather experienced in lua. Unfortunately, after multiple attempts of trying to install pyHook (1.5.1), I am unable to do so as I get … Software Development python | |
I have built a simulation of real space rovers. My current implementation for the first rover looks like this // a 6 wheel-rover public class Rover1 { private Joint joint1; // discrete rotation -- for steering private Joint joint2; // continous rotation -- for wheel private Joint joint3; // discrete … Software Development | |
I am trying to use the values from numericUpDown boxes. With the execptoin of totalRunTime, all variables in this sample of code are from numericUpDown boxes. I have tried declaring totalRunTime as an int, decimal, double, ect... Am I missing something simple here? private void button1_Click(object sender, EventArgs e) { … Software Development | |
private void Form1_Paint(object sender, PaintEventArgs e) { String theString = "A"; SizeF sz = e.Graphics.VisibleClipBounds.Size; e.Graphics.TranslateTransform(sz.Width / 2 ,sz.Height / 2); e.Graphics.RotateTransform(angle); angle++; sz = e.Graphics.MeasureString(theString, this.Font); e.Graphics.DrawString(theString, this.Font, Brushes.Black,-(sz.Width/2),-(sz.Height/2)); } I dont understand the last part with the DrawString(). The 2 last arguments of the method specify the location … Software Development | |
when i uncoment this line 144; i have error , and i debug and it was good, can anybody help me why i got this kind of error mybe should i declare List<employ>* list2, but it must wrok good like normale way List<employ> list2 #include<iostream> #include<fstream> #include<string> using namespace std; … Software Development c++ daniweb-bug | |
Hi, I have code like this, public void method1(){ ArrayList<String> list=new ArrayList<String>(); list.add("A"); list.add("C"); list.add("D"); for(int i=0;i<list.size();i++){ if(i==0){ new Test().addB(list); } } System.out.println(list) } public void addB(ArrayList<String> list1) { list1.add(1,"B"); System.out.println(list1); } output: List1: A,B,C,D List : A,B,C,D I Expected this Result: List1: A,B,C,D List : A,C,D Why List1 is … Software Development java | |
I have started a program that should be able to do basic cryptography functions such as reassigning letters to different letters. How I did this was by coverting each letter to an ASCii value and then storing them in an array. I am working with only the lower case letters … Software Development visual-basic | |
Okay, I feel like I busted something in my head because I can't figure out anything in Java anymore! I just confused the crap out of myself, and I can't seem to get back on the horse. What I'm trying to do is read from a text file to create … Software Development java | |
This method is supposed to reverse a stack by making a new stack and pushing popped items from this stack to the revertStack and then returning the reverted stack. When I run some tests, it returns an empty stack in stead. Any clues? public LinkedStack<E> reversed() { LinkedStack<E> revertStack = … Software Development java | |
![]() | CSCI 15 Assignment #3, introduction to classes/objects. 100 points, due 10/21/13 A mixed expression is an expression of the form a + b/c, where a, b, and c are integers, b >= 0 and c > 0. By convention, b/c is always non-negative, and has the property that 0 <= … Software Development c++ open-source |
Hello, How can I search for specific proccesses example "abc.exe" and add it to a listView and read values in it like an specific labels to add the processes on a specific group in the listView. Any articles would be nice. Software Development listview | |
Hi Guys, I hope everyone is doing great:-) I have a question... How To check if datatable is empty or no data is inside a datatable yet? Can you provide me with just code snippet?.. Thanks:) Software Development vb.net | |
Hey everyone, So awhile back I built a program that contained a function to merge two databases (well SQLite ones that are read in as Lists). When the first database is read in, well the file, it's read into a Binary Search Tree, while the second is read into a … | |
I am trying to add a List(Of T) to a Listview in Windows form application.But not able to do it. I have made a form and took the value of textboxes in a list and trying to bind the list to ListView | |
I made a button "yes". If the button is clicked, how do I insert "5" into an entrybox (aldready existing). Software Development python | |
class test { virtual void created(){}; //i must do these. //or when i call the function the compiler give me an error test() { void created(); } }test; void test::created() { cout << "hello world"; } these code have 1 error. but how can overrride the created function? Software Development c++ | |
Is it posible to connect my vb6.0 program to a wamp(mysql, myphpadmin) server on my pc. If i use my program to other part of our country, can i still connect to the wamp server? This is my challenge for a job, the IT personel from a company i am … Software Development visual-basic | |
Hello! Pretty new to Python but I'm kind of loving it. Already involved in illustration, design, and creating web content for clients, but I'm hoping to expand beyond that into full-fledged web development as well. I know a fair amount of html/css, and was looking for advice on other languages … Software Development html-css python web-design | |
Good Day All, I like to seek assistance for reading a file that has header and trailer information. I want the application to ignore the header lines (say the first 6 lines of the file) and also ignore the trailer which is always the last 2 lines of the file. … Software Development vb.net | |
Good day! Im developing a client server application that send dataset from the server going to client. I have successfully send my dataset from the server after converting it to xml string. My client had also successfully recieve my xml data from the server. I had also successfully load my … Software Development client-server data-structure dataset xml | |
Hello guys, is there any function to search for a word within a string and replace it with another? (Of different sizes) example: 1 string [] = "bla ble ble ble bli blo" word to replace = bli by 123456 2 string [] = "bla ble ble ble 123456 blo" Software Development c | |
I am following this toturial. [Click Here](http://msdn.microsoft.com/en-US/library/vstudio/dd492139) In the try other feature section: *Set it up so that the game only plays a sound when the mouse pointer hits a wall, but doesn't play a sound when the program starts. * I figured moving `hitWallSoundPlayer.Play();` from `private void MoveToStart()` to … Software Development | |
i have a java project for my resume that i put it on github. and i want a fastest way to some one else to run my project. should i just put all my files there? likesrc, bin, .setting, etc... or should i just put 'src' files. or should i … | |
I'm starting an external application with `Process.Start()`. I'm looking for code that can check if this process is already started, and if so bring it to the front. The only solutions I've found so far require me to import `user32.dll`. Question: are there solutions that do not require the import? Software Development | |
![]() | CSCI 15 Assignment #3, introduction to classes/objects. 100 points, due 10/21/13 A mixed expression is an expression of the form a + b/c, where a, b, and c are integers, b >= 0 and c > 0. By convention, b/c is always non-negative, and has the property that 0 <= … Software Development c++ |
hi all, i want to start building an authentication server which authenticates the clients to the e-commerce web site . do i need -for example- apache server,or WAMP and then write my code on it, i've not did a server side prgramming before.iam going to use Qt . i don't … | |
Hi all, I have installed SAP Crystal report for Visual Studio 2010 successfully on PC(.NET4.0, Windows Vista, Visual Studio Ultimate 2010). Now When I am going to add rpt file in my existing project, It automatically create .mht file and not .rpt file, that .mht file containing instructions and link … Software Development file-system visual-studio windows-vista | |
I have to write a fn squeeze(const string &s, char c) for ex squeeze("haaaaah" , 'a') should give the output hah Software Development c++ | |
Dear All, I have written some logic using MVVM pattern and tried to show a sub-datagrid in each row of a datagrid however there are some issues that I am currently facing and they are as follows (screenshot attached) :- 1. In each row I have an expander in which … Software Development assembly microsoft-access | |
hello fellow programmers, i am doing an assignment for class and i am having a bit of trouble. So the assignments reads Given two sorted (in ascending order) lists of size M and N, write an O(M+N) algorithm to find the sorted (also in ascending order) union of the two … Software Development c c# c++ linked-list | |
I am new to classes and was trying to create an elmentary program to understand classes and objects. I ve created three files 1) header file for class declaration 2) class definition .cpp file 3) class implementation main .cpp file I cannot understand the error I am getting. Please help. … Software Development c++ visual-studio | |
Hi Dw I would like you to help me here, i've googlished for this but it seems as if my problem is a bit complecated. I've created a program in java which has the '.jar' extention and then I created a program in VB.net which is an executor of the … Software Development vb.net | |
Hi Guys I want to use ModemDriver.py (v2.0.13) to send and receive SMS via a Mobile Broadband modem. Please don’t tell me to use Wammu/Gammu etc. I have wasted weeks trying to get then to work correctly! I can get things working via the command line. What I want to … | |
quiero saber como puedo hacer una aplicacion para android, en mi caso, ya tengo xamarin studio, pero no puedo configurar un emulador que me haga la maqueta de diseno! gracias, de antemano por su ayuda!! Software Development android android-development xamarin | |
Hi, I m trying to convert c code to c++. I m stuck at some part! Please help. What will be c++ equivalent of this snippet? void Scanned(FILE * ifp,int i) void Read(FILE * ofp) int Checker(char s[],char u[]) void Stored(FILE *) void Printed(FILE *ifp,FILE *ofp) These are file pointers … Software Development c++ | |
So the assignment is to : Design a program that generates 100 random numbers, and keep a count of how many of those random numbers are even and how many are odd. The function must return a Boolean value. I wrote a code but I do not know if it … Software Development | |
Hi there, Is there a way to change strings array size on run time. I mean array size initial value is 1, when i run the program, how much user add values array size increases. I have tried following but its not working, please i need a solution in array … Software Development c++ | |
I am currently trying to make a simple file uploader using http://msdn.microsoft.com/en-us/library/w3kksch7.aspx and its pretty straight forward except I keep getting the error Access To the path 'E:\Temporary' is denied I tried running visual studio 2012 as admin I already change the directory (It was at C: earlier) Help and … Software Development microsoft-access vb.net visual-studio | |
Hello guys, how can I make the first character of a string is stored in a char? example: char [20]: "hello"; char c: h; Software Development c |
The End.