43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for esesili

Hi All, When I try to compile the code below, I get error message " error: ‘MAX_IMG_HEIGHT’ undeclared here (not in a function)". I tried to declare them in different ways but it does not work. Does anyone have idea ? I appreciate for helps, The code is: [CODE]/* ImagExper.h …

Software Development c++
Member Avatar for dusktreader
0
94
Member Avatar for ticktock

Hey, all I am currently doing an assignment and I am having a tough time with managing my output. What I am trying to do is that when the program ends it asks the user if they would want to try again if yes it loops back to the beginning …

Software Development
Member Avatar for ticktock
0
1K
Member Avatar for MARKAND911

How to read images from a given folder using C#? I want to display those images into a PictureBox.

Software Development
Member Avatar for kdcorp87
0
115
Member Avatar for MJaske

Hey guys, I'm almost done with my homework assignment in an intro c++ class. My assignment found here: http://faculty.cs.niu.edu/~byrnes/csci240/pgms/240pgm2.htm My problem is with the output of the roots. If you run my program with the same numbers as sample output #2 in the assignment, I only get one root to …

Software Development c++
Member Avatar for MJaske
0
199
Member Avatar for Kinfe
Member Avatar for Kinfe
0
332
Member Avatar for john_prince

Hi, In our organization, there are lot of users who do not have their phonenumber in proper format. the correct format is : xxx-xxxx. Therefore, i've pulled out a all users report, consisting of two columns, one with name and other with phonenumber, the report is in csv format. Does …

Software Development perl
Member Avatar for d5e5
0
83
Member Avatar for antihero0021

I have a C# desktop application project for school that uses an Access 2003 database (not designed by me) and I am running into issues using OleDBDataReader. It has been awhile since I have programmed anything and I have never had to connect to an Access database before, so this …

Member Avatar for antihero0021
0
93
Member Avatar for sathya8819

Hi, I would like to know the idea behind one issue. In some sites, when you register using your email id, an automatically generated email is receieved in your inbox, which contains a link that you must click to activate your membership. How is this done? Can anyone help me …

Software Development
Member Avatar for sathya8819
0
274
Member Avatar for Tech B

Everything works great. But sometimes I get an Error message saying something about ip/port bindings. I don't have the traceback but this could cause problems down the road. Any suggestions? [code] #Backdoor Server #Version 0.3.0 #Every now and the I get an Error dealing with the ip/port bindings # seems …

Software Development cybersecurity python virus-malware
Member Avatar for snippsat
0
2K
Member Avatar for suncica2222

I use MS VC++6 and when I type code I have problem...let's say I have 123456789 typed and I place cursor between 4 and 5 and than type "something" I get 1234something and not 1234something56789 so it deletes and wont shift right :S also enter doesnt brake new line,space,backspace.... I …

Software Development c++
Member Avatar for suncica2222
0
89
Member Avatar for tqmd1

Dear Experts Table1 has following data date----------weight 14/01/2010------5 14/01/2010------10 15/01/2010------20 02/02/2010------35 I use followin query [CODE]str = "SELECT RANK() OVER(ORDER BY date) AS sno ,date, SUM(weight) AS weight FROM table1 GROUP BY Date" dt = GetTable(str) [/CODE] The query generates these results 1----02/02/2010------35 2----14/01/2010------15 3----15/01/2010------20 This is not order by …

Software Development vb.net
Member Avatar for apegram
-1
118
Member Avatar for zachattack05

I've been having problems figuring out a way to do this. I need it so that if the user opens form a and then later on buries that form under others, and they click the menu to open the form again that it just sets focus to it instead of …

Software Development
Member Avatar for zachattack05
0
3K
Member Avatar for kylcrow

I am getting this compiler error: gcc -g -Wall -O2 -c -o mybash.o mybash.c mybash.c: In function ‘main’: mybash.c:39: warning: implicit declaration of function ‘getline’ mybash.c:41: error: expected expression before ‘)’ token make: *** [mybash.o] Error 1 It probably has to do with something I don't remember about initializing and …

Software Development c
Member Avatar for kylcrow
0
157
Member Avatar for bd338

Hello everyone! I'm currently making my own implementation of java.util.List, and it's going pretty well. I've just run into a minor problem. I'm currently doing the 'addAll(int index, Collection<?> c);' method. But I can't seem to figure out how to make it start at the specified index.. this is the …

Software Development java
Member Avatar for ~s.o.s~
0
1K
Member Avatar for vamsicoolman

I am having a service which run using a batch file in command prompt, I want to read the whole information running in the console and want to write it to an another file but I am able to write it only when the service is closed completely. So I …

Software Development python
Member Avatar for Stefano Mtangoo
0
99
Member Avatar for funfullson

I have a code that plays fast _it's order is log(n)_.I have to meter it's play's elapsed time.I used from time.time() and time.clock() but they returned 0.I need a timer witch meter nano second. How can I do it?

Software Development python
Member Avatar for vegaseat
0
106
Member Avatar for jemz

hello please help me i have picture then i want to put on my JButton but the problem is that my picture is too big its jpg file how to make this bmp file so that it fit to my Jbutton..hoping for your positive responds

Software Development java
Member Avatar for jemz
0
185
Member Avatar for Cory_Brown

I'm a bit confused of the usage of the += operator. I understand that it is a compound operator that is used to both add and assign. However I've seen it used in the following manner. Class objectVar += new Class what is different about that vs Class objectVar = …

Software Development
Member Avatar for privatevoid
0
132
Member Avatar for jemz

hello please help me on the sql statement on how to display in descending order example select*from my_table......please help whats the next of it i want to display in descending order....also please give me what are the sql statement so that i can be familiar of it ..hoping for your …

Software Development display sql visual-basic
Member Avatar for jemz
0
82
Member Avatar for Clawsy

Hi, I have a pixel array grabbed with [I]PixelGrabber[/I]. I done some computation with it and now I need make a BufferedImage from it. The problem is I can't make it very fast, just slow. I made an Image type object from it then I converted it to a BufferedImages …

Software Development image java
Member Avatar for JamesCherrill
0
2K
Member Avatar for sidra 100

Although for consistent and reusable design we follow Object Oriented paradigms; “structured approach” has still its worth in some imperative and critical application. wat do u people say about this

Software Development c++
Member Avatar for jonsca
0
95
Member Avatar for rakshavprabhu

Hi I am a novice working with Java and the eclipse IDE. What I want to read words from a text file, store it as a list converting it to some uniform case. Then I input some word/sentence from keyboard and check whether it is present in the file. Well …

Software Development ide java
Member Avatar for rakshavprabhu
0
111
Member Avatar for kinwang2009

Hi All, I am currently programming Bill and Money Receipt Printing program. It is almost finished but struck with one problem. My problem goes here: I have created One MDI Form with 3 mdi Child forms namely, frmBillHeader, frmBillMain and frmBillFooter. BillHeader contains Company Name with Address and Contact No. …

Software Development advertising visual-basic
Member Avatar for kinwang2009
0
180
Member Avatar for Mitja Bonca

I have a problem of reading a dateTime column from a database. I set a parameter which is a datetime, but it does not read it. I am wondering what could be wrong. This is how I have written a date and time in the database: [url]http://file.si/pthumbs/large/7216/C%23_datetime_Lista.JPG[/url] And this is …

Software Development
Member Avatar for kvprajapati
0
92
Member Avatar for angel6969

I am having trouble with getting the math from paper to C++ code ... I am asking for user input for a numerator and a denominator .... the function then treats the variables as a fraction and reduces it to the lowest term ..... I had some math in the …

Software Development c++
Member Avatar for angel6969
0
275
Member Avatar for Ana_Developer

Before I proceed with the code implementation, I need to find the error that this program initiates. I can't figure out the solution, I guess thats what happens after not using c++ for 4 years... The compilation errors I'm getting are all of this type (11 of them): Error 9 …

Software Development algorithm c++ queue visual-studio
Member Avatar for Ana_Developer
0
198
Member Avatar for Ana_Developer

I cant find the error here.. [CODE]#include "stdafx.h" #include <deque> #include <list> #include <queue> #include <iostream> #include <fstream> #include <string> #include <sstream> #include <set> using namespace std; char file_name[15]; char links_file[15]; char alg[15]; char with_list[15]; char new_name[15]; int depth; long idstart,idgoal; class Action { public: long start_node; long end_node; int …

Software Development algorithm c++ queue
Member Avatar for Ana_Developer
-1
225
Member Avatar for Mz3g

Hi guys, I'm new to C++ and I'm doing a small project, I got a little problem with reading a specific number from a text file. for example: size 2 3 I want my program to read the 2 to a and the 3 to b. Also I want the …

Software Development c++ file-system
Member Avatar for Mz3g
0
364
Member Avatar for ajakuk

Can anybody suggest a solution? I am not able to display any plots, graphs or pictures using Python. e.g. when using the matplotlib.pyplot.imshow, I get the following answer: <matplotlib.image.AxesImage object at 0x01C77850> Nothing else is displayed nor any picture pops up. It seems to me the picture is created as …

Software Development python
Member Avatar for ajakuk
0
142
Member Avatar for sid78669

As part of a homework, I created the following Puzzle Class and it works. The thing is, it only work if i put the class in q2.cxx, the main code file. If I place them in three seperate files, I get hell load of problem. Can anyone please look at …

Software Development c++ file-system puzzle
Member Avatar for Ancient Dragon
0
156
Member Avatar for b.bob

Hi, I am a newbie to C++ (and programming in general) I have the following: [CODE] char* fOutMsg; strcpy(fOutMsg, "03DS2"); [/CODE] -------------------------------------------------------------- in another place: [CODE] char fPpn[32] = {0}; strcpy(fPpn, " "); [/CODE] ------------------------------------------------------------------- in another location: [CODE] char fStr; struct* ioEx; strcpy(fStr, W2A(ioEx->authcode)); [/CODE] --------------------------------------------------------------------- more: [CODE] char* …

Software Development c++
Member Avatar for dusktreader
0
382
Member Avatar for PixelHead777

... I find it interesting that these are projects for the[I] beginners[/I]. Of course, these projects I've found often result in constant research and use of extremely confusing modules. If a module is confusing and is required for a project? It immediately bumps up to intermediate difficulty in my book. …

Software Development python
Member Avatar for Ene Uran
0
157
Member Avatar for 28daniela28

I have the following code ( I'm creating a binary tree and then I want to print the values on it's leafs) but when I'm running it, it never enters in that if from the parcurgere function. What have I done wrong? [CODE]#include <iostream> using namespace std; class node { …

Software Development c++
Member Avatar for 28daniela28
0
139
Member Avatar for Evan M

I've been messing around with c++ and attempting to fully understand certain behaviors. Given the following program: [code=C++]#include <iostream> class Test { public: Test(); ~Test(); void func(); }; Test::Test() { std::cout << "Constructor" << std::endl; } Test::~Test() { std::cout << "Destructor" << std::endl; } void Test::func() { std::cout << "Deleting …

Software Development c++
Member Avatar for Evan M
0
114
Member Avatar for Begjinner

Hi, I got two question. :) First there is this annoying problem with running my script from IDLE that for the character é (the ' and e) I got after using ord() the value 233. When I run the script from cmd.exe I get the value 130. Why the difference …

Software Development python
Member Avatar for vegaseat
0
346
Member Avatar for Moonrise_state

Hi, I wrote a python program that counts the occurance of each alphabetic character in a string and it works fine. I tried to port it over to java but now it fails, telling me that there is no alphabetic characters at all in it. [CODE]for (int i=0;i<alphabet.length;i++) { for …

Software Development algorithm java
Member Avatar for musthafa.aj
0
118
Member Avatar for glenndr_15

Hi does anyone know how to interface vb program to mcu(microcontrollers? thanks

Software Development visual-basic
Member Avatar for vb5prgrmr
0
77
Member Avatar for baloo8

I have a listbox i want to populate with elements from a database. I have an id and a name that I get from the database. How can I change the listbox's default indices to the id's i get from the database? So that the listbox displayes the text, and …

Software Development
Member Avatar for Geekitygeek
0
224
Member Avatar for chuckjessup

This is for a project i am writing and i found some awesome code that works beautiful, however since i have two forms i have either to create a dll with the function in it or to only use the one function bit not have anything touch the function otherwise... …

Software Development visual-basic
Member Avatar for chuckjessup
0
443
Member Avatar for gayathrigmenon

how to create a submenu in Swing. I am using Netbeans IDE 6.8. Please help me. thanks in advance

Software Development ide java java-swing
0
50
Member Avatar for lightninghockey

I would like some help with this program that I wrote for my class project. I have a class Point, class Circle and a main test program. I'm having difficulty with where to put some if else statements to find the quadrant that the points x,y are located. I wrote …

Software Development java java-swing
Member Avatar for lightninghockey
0
1K
Member Avatar for atticusr5

hey everyone, I got a weird error when I run my program. I compile and link and run the program through the terminal in Ubuntu. I have to compile or linking errors, and the program run's fine, except when the program asks: "Would you like to see a display of …

Software Development c++ ios ubuntu
Member Avatar for atticusr5
0
89
Member Avatar for rhoit

hi every one.... i was trying to rename the no of files [QUOTE] Like "Prison.Break.S01E01.HDTV.XviD-LOL.srt" to "Prison Break.101.srt" and so on to the following files Desktop/1/Prison.Break.S01E01.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E02.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E03.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E04.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E05.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E06.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E07.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E08.HDTV.XviD-LOL.srt Desktop/1/Prison.Break.S01E09.HDTV.XviD-LOL.srt[/QUOTE] i tried to use [CODE]$mv "Prison.Break.S01E0[1-9].HDTV.XviD-LOL.srt" "Prison Break.10[1-9]" mv: target `Prison Break.10[1-9]' is not a directory …

Software Development shell-scripting
Member Avatar for nezachem
0
198
Member Avatar for lparras

I have a weird problem with destructors. My code works in older machines with g++-2.95, g++-3.3, g++-4.0, g++-4.0.1 and not in my machine with g++-4.4.1. Do you know why? Here I show a small example that reproduces the error (in my machine): [CODE] #include <iostream> class Matrix{ public: Matrix(){}; Matrix(int …

Software Development c++
Member Avatar for Salem
0
120
Member Avatar for StaticX

Hi, Im wondering if someone could clarify a problem im having. Basically im trying to figure out how i can go about having a Class A object as an attribute of Class B,while still using Class A's functions. For example if have a class called clockRadio.In turn i have another …

Software Development c++
Member Avatar for StaticX
0
104
Member Avatar for esesili

Hi All, I got a program which was written in c++ for unix at 1999. There are almost a hundred of source code files and makefile is available also. I do not have access to unix because of this, I need to get it worked in windows. My question is …

Software Development c++ unix
Member Avatar for WaltP
0
125
Member Avatar for mark185

Why must the use of the this keyword, or similarly the use of the super keyword in constructor chaining, be on the first line of an overloaded constructor? In other words, actual class construction cannot be split between constructors. If re-direction must occur, it must be the first line of …

Software Development java
Member Avatar for mark185
0
141
Member Avatar for Mitja Bonca

I have: Table1: Service: - IDService - ServiceName Table2: Order: - IDOrder - IDServiceFK (foreigh key) I have database table called "Service", in which I store service names. Then I have another table called "Order", in which is the foreigh key of Service. Services are shown in the listView control. …

Software Development listview
Member Avatar for apegram
0
156
Member Avatar for Gadgetman_53

Hi, I am new to Java, but have been programming in C++ for a few years now. I am working on a project where I have to write a class to implement a gameboard. To do so, I'm using a 2D array of objects. I have a method that swaps …

Software Development java
Member Avatar for Gadgetman_53
0
298
Member Avatar for soteri0s

I'm trying to compare strings in a Linked List and it throws a null pointer exception somewhere in the method smallest() which is where i have the strings(nodes) comparing each other. I've been Trying to find the answer for two days now and I've gotten nowhere. PLEASE HELP! The code …

Software Development apple java linked-list
0
259

The End.