132,726 Archived Topics
Remove Filter ![]() | |
Ok I need some fast help with this, I'm trying to get a regular expression to work with my file system. this is what i currently have, but it seem to crash on, boost::regex expr(regex); [code=c++]void show_files (const path & directory, bool recurse_into_subdirs, bool lSwitch, bool rSwitch, bool aSwitch, string … | |
I've come across an issue and for the life of me I can't figure it out. I need some serious help confirming if i'm thinking in the right way. But say I have 3 files. TableLayout.c Powers.c Powers.h Now TableLayout.c is a class that just takes a number from the … Software Development c | |
Hi, can anybody tell me why finalize is not called in this example? I expect finalize to get called and write the file "final.txt". I do see this file if I call finalize explicitly (see commented out line in main). A Java VM will be started and stopped when I … Software Development java | |
hi there, i am new to excel VBA. can anyone help me how to copy all the data in excel to another excel sheet by means of visual basic. for example excel1 and excel2.. after i locate excel1, then when i click copy button, it will copy all the data … Software Development visual-basic | |
i am new to xpath qurey. i want some how to get these nodes. <?xml version="1.0" encoding="UTF-8"?> <uml:Model name="Studentmanagementsystem" xmi:id="e5i21gSGAqAERwCq" xmi:version="2.1" xmlns:uml="http://www.eclipse.org/uml2/2.0.0/UML" xmlns:xmi="http://schema.omg.org/spec/XMI/2.1"> <xmi:Documentation xmi:Exporter="Visual Paradigm for UML" xmi:ExporterVersion="6.3.0"/> <packagedElement isAbstract="false" isActive="false" isLeaf="false" name="User" visibility="public" xmi:id="lELO1gSGAqAERwOt" xmi:type="uml:Class"> <xmi:Extension xmi:Extender="Visual Paradigm for UML"> <isRoot xmi:value="false"/> <modelType value="Class"/> <businessModel xmi:value="false"/> </xmi:Extension> <ownedAttribute … Software Development xml | |
Nucleon was nice enough to provide me with the following code to help learn lists a while back. I've had a little more time to revisit lists again and would like to see what this code looks like using a linked list instead of an array.. This is NOT homework, … Software Development c++ linked-list | |
Well i just want to find out , that is there any way where we can find out the various functions and operators / keywords present in a particular header file ....? Software Development c++ | |
Hi, i have som functions in a header file. But i get errors at compilation. [CODE]#include <stdio.h> //#include <limits.h> #include <math.h> #include <string.h> //define error codes enum { PERROR_FILEOPEN, PERROR_FILECLOSE }; //other defines #define P_LINELIMIT 512 //globally needed variables int P_Error = 0; char P_Line[P_LINELIMIT]; //typedefs typedef FILE P_File; //Error … Software Development c visual-studio | |
Hi, I did a project a while back and as the grading TA insist on it compiling on Solaris. I have a 0 for a perfectly working project. Can someone please help me with getting a program to compile on both the free free bsd and of course annoying Solaris. … Software Development bsd c open-source socket-programming tcp-udp | |
Does anyone have a c++ program for a high-low card game?? Software Development c++ | |
I bound gridview with databse..property Checkbox -true . I have three columns roll,name ,roll. I want that on button_click, roll nos are displayed whose checkboxes are checked in gridview-- SOURCE TAB [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"> <Columns> <asp:TemplateField > <ItemTemplate > <asp:CheckBox ID ="chk" runat ="server" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField … Software Development dataset open-source web-server | |
I'm a total beginner to Python (most of my knowledge is in OO languages). Could you someone point me in the right direction for learning how to pull information from tables and drop-down menus from websites? Software Development python | |
Create a class called Factor that has a public method called calculateFactor. The method has two two arguments of type integer and checks whether the smaller of the two integers is a factor of the larger of the two integers. The method will return a factor or a zero. Write … Software Development java | |
hey I am writing a program for a student management system. I need help with putting it in modules and placing functions in it. structures etc.... Software Development c | |
Write a Java application to print out the numbers 10 through 49 in the following manner: 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 … Software Development java | |
hullo am sory but i have some thing trigaring my mind can you please help me out find the solution for this 1write a function 2write aprogram "to readstudent's name ,examinationscore for 4 subjects ,compute their average score" please help me out with that using c++ thanks AMIRSHAMI Software Development c++ | |
Guyz i need an API for finding diff in time in minutes and days as fast as possible . if anybody has it and can provide me i wud be greatfull | |
I've created a program that will parse the log file generated by an MFP (Multi-Functional Printer). The program works fine when I parse a log file with less than 2000 lines, but when it reached more than 2000 lines (I've tried the log files with 8000 and 22000 lines), the … | |
Hi all! I'm trying to compile some code where I use a trylock, testing its return against EBUSY. The problem is that it won't compile because gcc says: error: ‘EBUSY’ undeclared (first use in this function) I'm using pthread.h and -lpthread when compiling. I also tried to unistall build-essential, update … Software Development c | |
I am working on homework for my x86 assembly class. The purpose of the program is to open an existing file and display the first 20 lines of the file and then pause, display the next 20 lines, pause, etc. until the end of the file is reached. My professor … Software Development assembly | |
Hey guys, this function is for rounding 2 decimal places, e.g. 1.2785 rounds to 1.2800. First, how would I alter the function so it would round 3 decimal places 1.2780, and second how would I truncate it so it would read 1.278. Thanks! [CODE]double roundIt(double x, double n) //Write definition … Software Development c++ | |
Hello, As you can see the title, i need help with the loop. Here is the code: [code] double t; for(t=0.5;t>2.5;t=t+0.1){ System.out.println(form.format(t)); } [/code] As you can see, the loop keeps going from 0.5 to 2.5. The main problem, that i cant understand how to make it count from 0.5 … Software Development java | |
Hi! We have a project,to make a website in school, so one of the mandatory things is the registration form. so i can just copy from the example the teacher gave us and add some stuff, but i wanted to practice checking the form, and one of my "missions"(huh i … Software Development java | |
Hi, Dear Friends i want to Pass AT Command to Mobile phone through Hyperterminal (Windows XP) from Java Application... The Hyperterminal passes the AT Commands to the phone, but i want to develop a java application, which pass the AT commands to the phone through Hyperterminal. please tell me how … Software Development java | |
Hi, there I have some lines in a text file as 159 J=1661,3169,1679,3181 SEC=SLAB2 66 J=5597,5596,7523,7522 SEC=WALL1 How can I delete "SEC=SLAB2" or "SEC=WALL1" and modify the roginal lines into new ones, if I have RE functions 159 J=1661,3169,1679,3181 66 J=5597,5596,7523,7522 I am using and stuyding Python. Please forget me … Software Development python | |
hiya. I'm trying to read in a text file, then split each line and output it to a listbox. However its not that easy. every 7 lines is about one subject so i need the listbox to write the data out like this. line 1, line 2, line 3, line … Software Development file-system | |
hello to every body im new in the vb language plz kindly help me can anyone tell me how to get the data from comm port by using the vb2005 thanks for replying me thanks Software Development vb.net visual-basic | |
Hello! I've built an application, created a setup for it, packed, etc. I've installed it on XP, and it works perfectly well. But the application actually produces images and other files, so when I tried it on Vista, I continually got the UnauthorizedAccess Expection. I understand that this is advanced … Software Development | |
Everybody hi! Last few days i was interested in one question: Does wxWidgets working well in KDE? Windows? [I]I know[/I], that i can read official wxWidgets site for posted issues, but actually i want to know your opinion about it! I looking for good UI for my apps, and i … Software Development c++ | |
As a newbie i m facing a small prob right now... i have code to search names from many files and compare the results with similarity scoring. its working but when the names found my program should show the filepath or fileName for each names. how can i do this … Software Development java | |
I have two classes; primatives.h [code] class PS2Sprite { public: PS2Sprite::PS2Sprite(); PS2Sprite::PS2Sprite(const float x, const float y); PS2Sprite::~PS2Sprite(); virtual void Render(void) const; virtual void RenderPerspective(void) const; void MoveTo(const float x, const float y, const float z); void Rotate(const float angle); void Rotate(const float angle, const uint8 x, const uint8 y); … Software Development c++ | |
Hi all, Can anybody tell me how to retrieve hard drive information in vb.net . I try my best search in google but not getting the appropriate information. Its urgent. Thanks in advance. Regards G_8306 Software Development hard-drive vb.net | |
I have a program that will fetch some particular lines and store it in a buffer for further operations.The code which is given below works but with some errors.I couldn't trace out the error.Can anybody help on this plz?? [CODE]#include <stdio.h> #include <stdlib.h> #include<string.h> #define LINESIZE 256 void failif (int … | |
hi, I am having a prob in collection object...My prob is Server sends a data and i have to save the data in flexgrid.I am using this data as a key and for the reference i am saving flexgrid row number with key. If another data comes.i just want to … Software Development visual-basic | |
Hi all, I ve been given an assignment to be done in LINUX which requires filing for processes. I have studied about the functions to be used, [I]open, read, write[/I]. I have copied the example from the book in my text editor and it gives error when compiled. The input … | |
What is needed for a C++ member function of a class to behave polymorphic? Please can anyone answer me to this, and if you can give me some example. Thanks. Software Development c++ | |
hi i am trying to create a class that contains a struct. This struct inherits properties from other classes. [code] class people { public: struct person:public parent { private: char * data public: setdata(char * x) } [/code] In the parent class i have [code] class parent { private: public: … Software Development c++ | |
hi guys, i m new to vc++ and i have a task assigned to use the lzo algorithm in my project so i downloaded its full source code of version 1.08 from the [url]http://www.oberhumer.com/opensource/lzo[/url] now when i m opening its sample.c file (which is a example file in the example … | |
I am just learning Datasets, and as luck ALWAYS has it can not start out simple. I am pulling from an ODBC file which can be connected to on the Dataserver or Table adaptor, but then they come in with no tables. So I am forced to work with runtime … | |
Hello, I have a rather complicated pointer/syntax problem. One of my function arguments is a pointer to a structure which contains a void pointer. If I point the pointer to a scalar then in my function I can access it like this: [ICODE] local_var = (appropriate_type *) struc->pointer; [/ICODE] But … Software Development c++ | |
ok the other day i posted about how to actually display an image and then what the best way would be to read in a location of an image and then display it. Now my new question is how do you resize an image. At the moment the image i … Software Development display image java java-swing | |
Hello! I just started trying to get the grasp of Assembly a few days ago, so I decided to write a program to print the Fibonacci numbers up to the 25th one. I'm using NASM, and it's for the x86 processor. I came up with this code, but it'll loop … Software Development assembly | |
{I am a newbie to this forum and programing. I am trying to write a program that takes a lists of technical support engineers and move them from the top of the list to the bottom when they get a support call assisted to them. "round robin" A little background … Software Development c++ | |
Newbie to QB - I have an assignment to create a grade sheet for one student. Must list name, instructor, class, test grades 1 through 5, average, low grade, high grade and new average with lowest grade dropped. I am so confused about arrays. I am using examples from class … Software Development visual-basic | |
Hello All, I am working on a simple program that will counts the number of matches found. I then need to display the text of the last successful pattern and the text the preceeds the last successful pattern match. This is where my problem is. How can I get these … Software Development perl | |
I have a program which will write informations like gid,gname,resname,restype,etc... in a file.I wrote a function to get the starting and ending position of a particular group.Stating of a particular group (say group 12)is denoted in a file by #gid12 and the end of the group is denoted by @gid12.I … Software Development c file-system | |
I am trying to read an integer in from the command line, but it keeps reading in the ascii value as the int, and it completely blows up when the number is greater than 9. I know it's probably trivial but can anyone be of assistance please int main(int argc, … Software Development c | |
Hey guys, I'm taking an intro level course on Python and i need to figure out how to get roman numerals to their integer values so far i have this... [code=python] romaninput = raw_input("Enter the roman numeral to convert to Arabic: ") I = 1 V = 5 X = … Software Development python | |
Hello there! I'm having problem with my drawing graphics programming, let's say I want to draw a circle. This circle is made out of smaller pieces called pixels. Okay I got a pixelclass containing three values x, y and color. My circle contains a vector which contains all the pixels … Software Development c++ |
The End.