132,726 Archived Topics
Remove Filter ![]() | |
I'm trying to write a program in C++ that will tell the user to input 5 numbers and it'll display the largest number and whether it was the 1st, 2nd 3rd...so on entry. any help? this is what I have so far #include "stdafx.h" #include <iostream> #include <math.h> #include <iomanip> … Software Development c++ | |
Hi, I'm a newbie in this vast world of programming. I've been given some codes in C which are compiled & linked using makefile. I can compile the code using nmake from VS2005. Now i want to build the program in C++ VS2005 IDE. From a quick google search, there … | |
Hello, Can anyone please help me in understanding the below as i need to debug it for finding out the reason for signal 11 in the code, Caught fatal signal 11 (Segmentation Fault) utl_dump_stack: Start of stack trace (using walkcontext) for pid 17461 /data/runtime/mycode/LDAPv3SL/prodlib/libLDAPv3SL_impl.so:std::list<LDAPCtrl,std::allocator<LDAPCtrl> >::iterator std::list<LDAPCtrl,std::allocator<LDAPCtrl> >::erase(std::list<LDAPCtrl,std::allocator<LDAPCtrl> >::iterator,std::list<LDAPCtrl,std::allocator<LDAPCtrl> >::iterator)+0xf4 [ … Software Development c++ | |
Hi All, I am using the following code to write data into an excel sheet: [CODE]# Open the Output Spreadsheet objExcel = win32com.client.Dispatch("Excel.Application") # Creating object to write to Spreadsheet self.xlApp =Dispatch("Excel.Application") # Creating Workbook self.Wkbk = self.xlApp.Workbooks.Add() # Get sheet count intShtCnt=self.Wkbk.Worksheets.Count # Creating worksheets wsObjReport = self.Wkbk.Worksheets.Add() # … Software Development python | |
Hello all, I am trying to connect to sqlserver on godaddy but facing so much trouble with the connection strings. I wanted to use C# but wasnt successfully in making a connection. when i simply copy-pasted their vb-script connection strings sample.. it worked. I tried to modify vb to c# … | |
Hello every1, my problem is how to remove controlBox of MDI child. i mean that i already set MDI child: ControlBox to False minimizeBox to false MaximizeBox to flase set windowstate to maximized formborderstyle to fixed3d When i open the form in MDI Parent, all the button minimize, maximize, exit … Software Development vb.net | |
//main [code] #include <iostream> #include <cstdlib> using namespace std; #include "libro.h" int main() { test ab; cout<<"enter width limit"; int length; cin>>length; ab.alternate(length); } [/code] //implementation [code] #include <iostream> #include <cctype> #include <cstdlib> using namespace std; #include "libro.h" int test::alternate(int width) { //for odd, 3 char-ellipsis if(width%2==1) { keep=width-3; } … Software Development c++ | |
I need help please. this cgi program works fine only if the user puts in more than 66 chars..i chopped the lines into 66 chars each so they would fit in the textarea the problem is that record comments() works perfectly for writing multiple lines and the \n char in … | |
Hi all, I'm working on creating an application whcih acquires image data from camera and display it. I have right now acquired image data in the form of long* array. I would like to visualise this data. I am not sure how to display the array values as an image. … Software Development c++ display visual-studio | |
I found this question in some programming contest.. Given are N squares with side 1. How many "different" rectangles can one form using these squares? Two rectangles are considered different if none of them can be rotated and moved to obtain the second one. During rectangle construction, you can neither … Software Development c++ | |
Hi All, I am using Visal Studio 2005. I couldnt understand how Visual Studio is executing follwing code. Can anybody please tel me. I have worked on Turbo C compiler, VC++ compiler and Visual studio. I could understand the output of other two compilers for the following code. But i … Software Development c visual-studio | |
When I try to compile this code [code] using namespace std; #include <iostream> class COne{ protected: int a; public: bool is_equil( COne & other){ if ( a == other->a) return 1; else return 0; }; int seta(int val){ a = val; return 0; }; }; int main(){ COne a, b; … Software Development c++ | |
This will hopefully be my last noobish question post. Please could somebody explain or link to explanation: 1.yeild 2.return thanx in advance Software Development python | |
![]() | Hi a while back you guys helped me make a good spell checker, now i want to advance it so that if the difference between 2 words is small it will change them, I think i need to use diiflib for it but i don't know how to do itmy … Software Development python ![]() |
is there anyway to check if pocket pc is connected to desktop via activesync? Software Development | |
here is the question: when you have a file you can open properties of that file and set "Copy to Output Directory" to "Always Copy",however, when you want to do the same thing for a folder, there is no option for copying. all there is rest to create that folder … Software Development | |
yeah i deploy the application using start button in VS, then application runs ok, then to debug it i run it again without any code change, it gives "Value does not fall within the expected range" error. Do you know why? Software Development | |
HI All, Another Question: I have created another program that queries the StockTracker database for all users and the stocks held by each user. The program compiles, but at run-time i get the error: [COLOR="Red"]"Exception in thread 'main' java.sql.SQLException: Column not found at sun.jdbc.odbc.JdbcOdbcResultSet.findColumn<JdbcOdbcResultSet.java:1833> at sun.jdbc.odbc.JdbcOdbcResultSet.getString<JdbcOdbcResultSet.java:395> at StockByUser.main<StockByUser.java:43>"[/COLOR] I am … | |
Hey guys, Has anyone here ever used python to produce data files which can be immediately read by excel? I thought at first if I just tab-delimited my data, I could copy and paste an entire data file into excel. This is not the case. When I take a tab … Software Development python | |
Hi, i have a form with controls that show productinformation. now i have 10 textboxes named tbxPrice1 -> tbxPrice10 . in my artikecleobject exists a property list<articleprice> named articlepricelist that could have 0 till 10 elements. now i want to fill my 10 textboxes in a loop against my articlepricelist … Software Development | |
Hi, We are new to Visual Studio 2008, barely a month into a C++ course, and are currently working on a few personal projects. We have successfully created a console application with Visual Studio but are not sure on how to get the program to run outside of Visual Studio. … Software Development c++ visual-studio | |
the error is on line 32 of my main program //interface file [code] #ifndef STREXTRA_H_INCLUDED #define STREXTRA_H_INCLUDED #include <iostream> using namespace std; class search { public: int find(unsigned char mystring,char letter); int find(char mystring[],string word); }; #endif // STREXTRA_H_INCLUDED [/code] //implementation [code] #include <iostream> #include <cstdlib> using namespace std; #include … Software Development c++ | |
Good afternoon, I am in the process of learning java and I am a little bit stock on a couple of issues. I am working with javamail version-1.4.2 and JavaBeans Activation Framework 1.0.2 release. The purpose of my code is to give me the ability to move e-mails from one … Software Development java open-source session | |
Sequencer sequencer = MidiSystem.getSequencer (); can any 1 tell ...What's going on in this code .... Software Development java | |
Hi I'm working with a structure like this: [code=c] struct table{ int id, rank, hop_sup; float dist,bs_dist, res_enrg, total; }; struct nd{ float x,y, enrg, bsdist; int id,my_rank, hop; int neighbor[50], prfrdnbor; float nbordist[50]; struct table nbr[25]; }node[127]; [/code] Do you think this would cause memory problem? In my program, … Software Development c | |
Hey all, need some help on little issue im having. I have 2 programs and I am writing an interface to link the 2 of them in MC VC 6 MFC. There is an input text file to input data for the second program. My dialog interface saves the input … Software Development c++ | |
Hi, i am making downloader, and I want to use diferent progressbar for every link (like ff downloader)... I made treemodel [CODE]treemodel = gtk.TreeStore(gtk.gdk.Pixbuf, str, gtk.ProgressBar)[/CODE] and i put in components with this [CODE] def insert_row(self, model, parent, type_image, file, pbar): myiter = model.insert_before(parent,None) model.set_value(myiter,0,type_image) model.set_value(myiter,1,file) model.set_value(myiter,2,pbar) return myiter[/CODE] my … Software Development python | |
package gcd; import java.io.*; class gcd { public static void main (String args []) throws IOException { BufferedReader dataIn= new BufferedReader(new InputStreamReader(System.in)); String strEntry; String str_C; String ans; int a[] = new int[10000]; int n=0,i=0,j=0,c=0,max=0,min=0; long prod=0; strEntry = dataIn.readLine(); n = Integer.parseInt(strEntry); for(i=1;i<=n;i++) { str_C = dataIn.readLine(); c = … Software Development java | |
| |
Hello all, I am new and I was hoping someone could please help me out. My problem is, I am trying to design a C program to read in a text file containing values, and output these values in binary form. the text file "values.txt" looks like this: 139 <tab> … Software Development c file-system | |
hey guys u no any thing bout tex files........... any thing?? i have a few questions to figure out.......... but if u have any advice on what i need to no wrt figuring out these coding questions please help me... i would gr8tly appr. it.... heres the question: and wrt … Software Development c++ | |
My goal is to write a function that takes a number and returns the number of solutions for that number, a form along the lines of f(a) = x_0 + x_1 +...+ x_n = a. where n can be any number such that n < a. Another restriction that I'm … Software Development python | |
This is my final assignment before the semester is over. For this program I am supposed to create a switch within a loop. The switch works but the program will not loop. Can you please help me. [ICODE]#include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main(void) { double … Software Development c++ | |
Writting a program which involves tallying generated numbers. I'm having problems with the tallying part. It takes a number, and finds it in the second row of an array, and tallies (add 1) to the same position in the first row. Here's my extracted code: [CODE=C]#include <stdio.h> void tally(int number, … Software Development c | |
Hi As the title suggests I'm having a problem compiling MFC based applications, this problem started immediately after installing the windows server 2003 platform SDK and now even when I try to compile a new MFC project I get the following errors: [CODE] c:\program files\microsoft platform sdk\include\zmouse.h(141) : error C2146: … Software Development c++ microsoft microsoft-windows windows-server | |
hi everyone out there i'm seding this request again plz help me out .......thanks currently i'm facing this prblem can anyone help me out wid this i'm using ADOCD component in project and also added reference of adodb but resulted in following list of errors Error 1 'CommandTypeEnum' is ambiguous … Software Development visual-basic | |
I has a question i create a form using vb but i dun know how to write the code for the it. So all the data i fill in the form will show it the MS SQL. So what to write the code and anyone have a good tutorial for … Software Development visual-basic | |
Do anyone know how to use the vb to retrieval data from MS SQL ? Do anyone have a good tutorial about it can post it?? Software Development sql visual-basic | |
Hi All, I have created a servlet HTMLBank.java which I need to display in my browser. I am using Tomcat as my server. I have saved the class for HTMLBank in: C:\Program Files\Apache Group\Tomcat 4.1\webapps\ROOT\WEB-INF\Classes\servlet But when i try to "run" my servlet in my browser, i get a message … Software Development apache display java session web-browser web-server | |
can anybody help me on this algo provided below.................... I need a c++ implementation for the following algorithm............. Algorithm RST-T Input: A set of points P = {(xi, yi)} Output: A rectilinear Steiner tree with all points in P connected A. Build an RST-T with horizontal trunk 1. Set ymid … | |
In a book, I saw a definition like this: [CODE]static struct map_info mymap = { .name = “mymap”, .phys = FLASH_START_ADDR, .size = FLASH_LENGHT, .bankwidth = FLASH_WIDTH, };[/CODE] what does it mean..?It's not clear for me actually.. Software Development c | |
I am having a doubt that whter dataset can updated directly from datagrid (ie by making changes directly in the datagrid ). | |
After I've been running my program for a while, it freezes and gives me this error in the console: [COLOR="Red"]Exception in thread "Thread-4" java.lang.IllegalArgumentException: timeout value is negative at java.lang.Thread.sleep(Native Method)[/COLOR] It gives me a line to where the error occurs, which is the same line where it says "try": … Software Development java | |
how to create a table using date data type i am getting error during creating table create table mrf(fr date); error: cannot find data type date | |
hi everyone out there currently i'm facing this prblem can anyone help me out wid this i'm using ADOCD component in project and also added reference of adodb but resulted in following list of errors Error 1 'CommandTypeEnum' is ambiguous in the namespace 'ADODB'. D:\farah\tran_pro19\26june19\UrduTransliteration\MainForm.Designer.vb 73 33 Project1 Error 2 … Software Development vb.net | |
I'm making a module to simulate a neural network, speed is an issue so I've written it in c, basically you build the network in python, and then run call a simulate method that is pure c. One thing I want to add is the ability to inject current into … Software Development python | |
Hi I created C# project ,but there is problem,the problem is if I click on close button in right side upper corner in windows application while program is running ,then it's close,but I cant compile it in second time because its giving error massage "your Test10.Exe is already running",but there … Software Development c# | |
Hi all! Since I've been having a little more time for doing some recreational stuff I decided to continue programming again. But as you might have guessed from me posting here... I've found myself a problem again. All around the internet as well as on tv you see these nifty … Software Development |
The End.