132,726 Archived Topics
Remove Filter ![]() | |
Hi is it possible to get the file creation date of files on the mac using c++? If so, may you assist me on how do I go about doing so? Many thanks Software Development c++ | |
Hello sir, I am using VS2005. I am designing an application for my college project. Its an basic tutorial application of some languages. Can anyone help me what are the basic and advanced things does a tutorial application might have? Software Development vb.net | |
I am searching an efficient algorithm to find all the palindromes in a string(actually I have to find the largest palindrome in a string).. Here is my code [code] string palindrome(string str) { int n=sz(str); for(int l=n-1;l>=0;l--)//Palindrome can be of any size. { for(int i=0;i<n-l+1;i++) { int j=i+l-1; string str2=str.substr(i,j-i+1); … | |
Hi guys! I 'm new in python and i don't how can I capture resize event on root, can anybody help me? Software Development python | |
Thanks in advance. I am wriiting a code about Conway's game of life,and i am a beginner of python,have looked at my code for hours,still couldnt find out the bug...when i run it,it doesnt work....only return the same matrix as the test code given..anybody can help with check it would … Software Development python | |
[B] i need to find the user I/p is an String or char or int or float in C++ lang . [/B] My Goal is to Get 3 inputs from user and Find the Greatest of all and list out it but matter of fact the Big deal is the … Software Development c++ | |
hi, i am doing a project in C#, i have not much knowledge in c#. the task is display the icon inside the form. i searched in google. still i am not getting information. if anybody know please send ur details. Thanks & Regards, Karthikeyan S | |
I have created a C# Windows application in .NET 3.5, it runs the powerpoint slideshow and closes all the existing slideshows and should only run the new .ppt application. In C# when I run this application with putting breakpoints it runs fine and gives no error. But when I run … Software Development | |
My biggest problem right now in understanding c++ is pointers. Im curious to its specific funcionality, so instead of doing somthing like p = &x then calling x using *p, why couldn't you just say x = p? Im pretty sure my syntax is wrong, but hopefully i'm getting my … Software Development c++ | |
Hi, Please let me know if this post doesn't belong here... I couldn't find a dedicated forum for network programming, so posted this here. [INDENT]I'm developing a client and server for using Winsock/TCP/C++. I'm relatively new to network programming and have a few doubts :[/INDENT] [LIST=1] [*]Suppose I send 8 … Software Development c++ client-server socket-programming | |
I am designing an editor program using rich text box in vb 6.0. I want to add a special box for entering verse or poems so that when I click a button, this box is placed at current position of cursor e-g if cursor is at line#3, the box is … Software Development visual-basic | |
Hello, I need help with a puzzle I am trying to make in assembly. the description is down below There is a famous puzzle invented in the 19th century which you may have seen, or indeed tried to solve. Imagine a tray consisting of 16 spaces arranged in four rows. … | |
Hello Everyone!, This Forum has helped me very much in understanding different solutions in C-language . Before I post my query i would like to thank everyone for there help in the past. Q: I have a text file say "input.txt" which contains a table in the following form NAME … Software Development c | |
hi, I want help in developing the following code. step1 : match Todays date with string in Paragraph. Step 2: if Date matches, extract from Date to EndOfLine. Step 1 code If InStr(status_array(i), Format(Now(), "mm-dd-yyyy")) <> 0 Then Step2 code End If Please help me developing code for Step2. Regards, … Software Development visual-basic | |
Python 3.0 comes with a builtin [icode]print[/icode] function which breaks old code. In order to write code wich is compatible both with the 2.x series and with the 3.x series, I'm using the following [icode]Print[/icode] function [code=python] import sys def Print(*values, **kwd): fout = kwd.get("file", sys.stdout) sep = kwd.get("sep", " … Software Development python | |
Hello, Where can i find the complete reference book for Visual Studio 2005 Software Development vb.net visual-studio | |
I'm working on this project due by 4AM and my loop keeps stopping after following part of a loop. I've checked the code several times, but it just freezes inside the checkstuff function. Can someone tell me how I can break from that fucntion or loop and continue looping through … Software Development c++ | |
Hi, I wanted to issue a select query with where clause. I used sql parameter in my sql query, but how do i pass the value to that parameter at run time. Help! Software Development sql visual-basic | |
Hello The table's cells contain integer values. I would like to save each one of theme them in an array of integers. The problem is, I don't know how to do so. I tried to use the getValueAt method, but I always get error messages. I tried something like: [CODE]Object … | |
I am developing a job portal and i want the end user to enter his/her D.O.B..for that I want to create 3 dropdown one for..day,second for month and third for year..since I'm new to asp.net 2.0 my problem is how to program to as to get the values of all … Software Development asp.net | |
Hi. i have to extract the following line: C:\WINDOWS\lsass.exe i tried [QUOTE](\w:\\.*\.\w{3})[/QUOTE] it worked on some strings only. any suggestions ? plz help. | |
I'm working on a simple matching game, whereby my array includes 3 numbers:{ 5,9,0 } and the user tries to guess them. Instead, I want to use the Random class to generate 3 different numbers from 0-9, but I'm not sure how or where to start. I came across info … Software Development java java-swing | |
I'm having an issue that so that Book A and Book B's Author and Title will print at the end of the program. So This will verify that the overloaded = is functioning. #include <iostream> using namespace std; class Book { public: Book(char*, char*); private: char* title; char* author; public: … Software Development c++ | |
i have installed Jdk6.0 version, this doesn't contain smack package. here i have written a programme import java.util.Collection; import org.jivesoftware.smack.*; public class GtalkClient { public static void main(String[] args) throws XMPPException { ConnectionConfiguration config = new ConnectionConfiguration("talk.google.com", 5222, "rgukt.in"); XMPPConnection connection = new XMPPConnection(config); connection.connect(); connection.login("< narayana.nuz >","< narayanramlall >"); … | |
Hi All, I am a total newbe to python. I am using some already available code to send email from commandline using my Gmail account. For the piece of code smtp = smtplib.SMTP('smtp.gmail.com', 587) I get a error ################ Traceback (most recent call last): File "Mail.py", line 44, in <module> … Software Development python | |
Does anyone remember how ms dos had a [B]sort[/B] program that you could sort the rows in a huge text document based on just one character by its position from the left margin? I am trying to recreate that effect in a notepad clone. I am sort of new to … Software Development | |
do you know any articles which is like c++ for c# developers? | |
Hello, I'm new to the forum. I studied x86 assembly about 25 years ago. I think we used a 8080 or 8086. It was all Dos back then, no Windows. Anyway, my career took me down another path and I would like to learn assembly again. My laptop and desktop … | |
Hi It is possible to execute terminal commands in java, but is it possible to then get the output or result of the terminal command as input into a java program? If so, may someone tell me how or point to materials that I can read. Many thanks Software Development java | |
I want to convert a VB6 Application with many Forms to C# .Net 2.0. How can i do it. Is there a tool available? Software Development c# visual-basic | |
Ok here is my assignment, i know its alot to read, but i would really appreciate the help: Write a program that asks the user for a file name. The file contains the part number, cost and quantity for up to 50 parts in the current inventory at a store. … | |
I need to write a Python program which parses webpages and returns a dictionary of unique words and their frequenies. What I came up with was [CODE]#!/usr/bin/env python from HTMLParser import HTMLParser, HTMLParseError import urllib import urlparse import sys import os import MySQLdb import re class WordHarvester: def __init__(self): self.db … | |
If I have a hash function h(k, f(i)) and f(int i){ return c * i; } And the first index that it tells me to insert the element at already has an element there, what do I do? Would the proper way to insert an element the first time be … Software Development java | |
Hi, This is my XML file. I want to retrieve information stored in a HTML Table in index.html page. How can i do it? Thanks [code] <?xml version="1.0" encoding="UTF-8"?> <memo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="memo.xsd"> <header> <companyName>XML development LTD</companyName> <to>myemail@yahoo.com</to> <from>xml@yahoo.com</from> <date>1979-11-07</date> <reg>I don't know the reg</reg> </header> <body> <message> <parag>Hello, How are … | |
General question: If you want to create a homepage, wich application can you do this in ? I know C++ well but I am not sure if you can use Visual C++ Express Edition 2008 for something like this ? Does anyone have experience of this, What application could otherwise … Software Development c++ | |
i have a c++ project and am using has-a inheritance ... the project is to create a class Sensor then makes is-a inheritance to classes Regular Sensor and CriticalSensor .. uptill now no problem ... i want then to create a class Building that (has) sensors so am using has-a … Software Development c++ | |
[COLOR="Green"]Hello pleas any one helpe me in my code my code include error iam convert thise function to over loading(laste function) but include error Code:[/COLOR][CODE]bool Student::operator!() { if(!canRegisterMore()) return true; else return false; } bool Student::registerCourse(Course course) //thise function expline abilety of register course but you should //the 1 can … Software Development c++ | |
When i create a JTable like the code shown below: [ICODE][B]String[] columnNames = {"First Name", "Last Name", "Sport", "# of Years"}; Object[][] data = { {"", "", new Integer(5),""}, {"", "", new Integer(5),""}, {"", "", new Integer(5),""}, {"", "", new Integer(5),""}, {"", "", new Integer(5),""}, }; JTable table=new JTable(data,columnNames); table.doLayout() … Software Development java | |
Hello, I am having trouble understanding the output of the following program: [code=C++] #include <iostream> using namespace std; int main () { int a[5][6]; int b, d; for (b=0; b<=5; b++) { for (d = 4; d >= 0; d--) { if ((b+d)% 4 == 0 ) { a[d][b] = … Software Development c++ | |
The following code compiles, but I don't have any documentation on how to use the "enum" structure. I cant find any info on it in my books or Sun's language documentation... class Test { enum eone { Plus { int operate(int x) { return ++x;} }, Minus { int operate(int … Software Development java | |
I'm trying to read in the whole file at once. If this code ever fails, my whole project will fail. I'm using the following: byte[] theFile = new byte[input2.available()]; then, input2.read(theFile); The API says something about blocking. What exactly is blocking, when will it happen, and how will it affect … | |
i am encountering a Linker Error: Undefined reference in my program under DEV c++ it invovles usage of the NTL class of header files. i have downloaded those files and have every header file existing in the required forlder of NTL. but still there are issues concerning the reference. i … Software Development c++ | |
Hi Is there a way to check if a float is a whole number eg 10.0, 7.0 or somthing.0 I'm doing problem 5 on project eular Mayby I have the complete wrong idea here is my code: [code] numbertobetested = 0.0 loop2 = 1 while loop2 == 1: numbertobetested = … Software Development python | |
Hi, I am a full time freelancer who works primarily in Visual Basic 2008 using the Express Edition. I love the fact that it is free, but I find it slow and somewhat quirky, even buggy in some frustrating cases. I guess I am asking for opinions on what your … Software Development vb.net visual-basic | |
Hi, I have a problem with using variables in assembly. I´m new to assembly and I am trying to use Roby´s programming tutorial: [url]http://geocities.com/SiliconValley/Park/3230/x86asm/asml1001.html[/url] The problem is that when I have declared a variable and try to move it. For example: ideal p286n model tiny codeseg org 100h var1 dw … Software Development assembly | |
HI All, Ant Unix method or C++ method is there to convert unix time stamp to system time stamp.The input is ULONG and out put should be in string. u can intimate to <email snipped> Any help is appreciated in advance. | |
This program adds up command line args (all of them ints) [code=c++] #include <iostream> #include <fstream> using namespace std; int main(int argc,char *argv[]){ int answer; fstream a; for (int q=1; q > argc; q++){ a.open(argv[q]); } answer = argv[1]; //first error for (int k=2; k > argc; k++){ answer += … Software Development c++ | |
Hello, I have a fairly basic knowlegde of Visual basic, I am trying to create a form to create a username and password which is then saved in a .txt file, the problem being that anyone can read it. Is there any way that it can be simply encrypted before … Software Development visual-basic | |
hello everyone, i need to make a program that will show/load the images stored in mysql database, i've already created the database and my problem is i can't load it in my vb code.... here's my code below Dim conn As MySqlConnection 'connect to database conn = New MySqlConnection() conn.ConnectionString … | |
Well i have one main form which i run like an application.On that main form i have 3 buttons which are opening another 3 forms(instances of Form2 class) which are of the same class Form2. So i have : Form2 form1=new Form2(); Form2 form2=new Form2(); Form2 form3=new Form2(); all of … Software Development c# visual-studio |
The End.