43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for illyaizevielvon.einzbern

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++
Member Avatar for ikel
0
280
Member Avatar for toll_booth

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
Member Avatar for vegaseat
0
340
Member Avatar for wrathofmobius

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
Member Avatar for vegaseat
0
893
Member Avatar for Xakzi

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++
Member Avatar for Xakzi
0
762
Member Avatar for Dili1234

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 …

Software Development dataset vb.net
Member Avatar for sharls
1
599
Member Avatar for drsnet41

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
Member Avatar for sepp2k
0
12K
Member Avatar for somjit{}

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
Member Avatar for JamesCherrill
0
146
Member Avatar for KushMishra

Hello All, I want to add a functionality to my WPF usercontrol in the Head section like the image below :- ![f4418c3ccc7f9a4d7f30aee9903987c6](/attachments/large/3/f4418c3ccc7f9a4d7f30aee9903987c6.JPG "f4418c3ccc7f9a4d7f30aee9903987c6") Could someone please suggest some approach on how to achieve the same ?

Software Development asp.net
Member Avatar for KushMishra
1
170
Member Avatar for bullet_1

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
Member Avatar for Zephaniah
0
126
Member Avatar for alina.nazchowdhury

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
0
108
Member Avatar for Krontical

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
Member Avatar for snippsat
0
730
Member Avatar for ikel

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
Member Avatar for ikel
0
237
Member Avatar for Triryche

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
Member Avatar for Triryche
0
1,000
Member Avatar for castajiz_2

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
Member Avatar for castajiz_2
0
598
Member Avatar for younes.keraressi

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
Member Avatar for younes.keraressi
0
180
Member Avatar for sasikrishnasamy

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
Member Avatar for JamesCherrill
0
307
Member Avatar for toxicandy

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
0
72
Member Avatar for Hanyouslayer

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
Member Avatar for JamesCherrill
0
346
Member Avatar for Pyler

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
Member Avatar for JamesCherrill
0
223
Member Avatar for andrew.mendonca.967

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
Member Avatar for tinstaafl
0
249
Member Avatar for iFrolox

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
Member Avatar for iFrolox
0
225
Member Avatar for ReyJEnriquez

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
Member Avatar for ReyJEnriquez
0
2K
Member Avatar for JOSheaIV

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 …

Software Development algorithm sqlite
Member Avatar for JOSheaIV
0
214
Member Avatar for Abhishek_12

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

Software Development listview vb.net
Member Avatar for tinstaafl
0
193
Member Avatar for Spider_14

I made a button "yes". If the button is clicked, how do I insert "5" into an entrybox (aldready existing).

Software Development python
Member Avatar for woooee
0
127
Member Avatar for cambalinho

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++
Member Avatar for cambalinho
0
412
Member Avatar for 2mhzbrain

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
Member Avatar for ikocrush
0
928
Member Avatar for TheCodeCrimson

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
Member Avatar for TheCodeCrimson
0
283
Member Avatar for ibpet11

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
Member Avatar for ibpet11
0
154
Member Avatar for gennesis

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
Member Avatar for gennesis
0
804
Member Avatar for Thundermax

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
Member Avatar for Ancient Dragon
0
229
Member Avatar for Triryche

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
Member Avatar for Triryche
0
181
Member Avatar for android_gl

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 …

Software Development github java
Member Avatar for JamesCherrill
0
308
Member Avatar for pritaeas

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
Member Avatar for Ketsuekiame
0
198
Member Avatar for andrew.mendonca.967

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++
Member Avatar for nullptr
0
224
Member Avatar for tooota

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 …

Software Development apache c++ qt
Member Avatar for tooota
0
214
Member Avatar for Nitin Daphale

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
Member Avatar for santhosh_iyer
0
562
Member Avatar for skyyadav

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++
Member Avatar for mike_2000_17
0
1K
Member Avatar for KushMishra

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
Member Avatar for KushMishra
1
2K
Member Avatar for TalentedIndividual

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
Member Avatar for tinstaafl
0
535
Member Avatar for H_beginner

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
Member Avatar for tinstaafl
0
228
Member Avatar for Mr.M

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
Member Avatar for Mr.M
0
180
Member Avatar for AcmeUK

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 …

Software Development api python
Member Avatar for AcmeUK
0
237
Member Avatar for Anelkajona

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
Member Avatar for Anelkajona
0
104
Member Avatar for Andy90

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++
Member Avatar for Ancient Dragon
0
674
Member Avatar for whatthebobo

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
Member Avatar for whatthebobo
0
975
Member Avatar for new_developer

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++
Member Avatar for new_developer
0
321
Member Avatar for ravi_forum

Sir, I wanted to know the implementation code for krushkal algorithm in C++. Anyone can help me to give the code. ThnQ

Software Development algorithm c c# c++
Member Avatar for naamurad
2
2K
Member Avatar for iwanna4get

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
Member Avatar for iwanna4get
0
231
Member Avatar for Thundermax

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
Member Avatar for mridul.ahuja
0
155

The End.