132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pavani2006

i want to print words in reverse. i could print characters in reverse but not words for(int i=arr.length;i>0;i--) printf(arr[i]);

Software Development c
Member Avatar for devaru2003
0
222
Member Avatar for mebob

When I tried to compile my code, I got this in the log: child 2136(0xD8) died before initialization with status code 0x1 *** child state waiting for longjmp *** child state waiting for longjmp Resource temporarily unavailable C:\Users\Collin\Desktop\Programming\Makefile.win [Build Error] [HW8P1Class.o] Error 2 This is the file that seems to …

Software Development c++
Member Avatar for mebob
0
273
Member Avatar for hisan

Hi, I want to know how to read the binary file from 10th byte to 90th byte in a file size of 100 bytes and need to write the read data into new binary file. please help me in doing this.

Software Development file-system python
Member Avatar for hisan
0
89
Member Avatar for fsl4faisal

[CODE] #include<stdio.h> #include<conio.h> #include<stdio.h> void maketree(struct node**); void inorder(struct node**); struct node{ struct node *left; struct node *right; int data; } void main() { struct node *root; root=NULL; printf("Enter root"); maketree(&root); preorder(&root); getch(); } void maketree(struct node **root) { int num; struct node *temp; if(*root==NULL){ //printf("Enter number"); scanf("%d",&num); temp=(struct node*)malloc(sizeof(struct …

Software Development c c++
Member Avatar for gusano79
0
166
Member Avatar for NewOrder

i was looking at this code and thinking when is it a good idea to use the do-while method. [CODE]import java.io.*; class ValidHex { public static void main(String[] args) { Console console=System.console(); String hex; boolean valid; do{ System.out.println("Please enter a valid hexadecimal number"); hex=console.readLine(); if(hex.length()==0) valid=false; else valid=true; for(int index=0;index<hex.length() …

Software Development java
Member Avatar for NewOrder
0
120
Member Avatar for sabareesh

I created a dyanamic array through malloc() function. (size is 1024) next time i want to change buffersize as 500 . how can do this?

Software Development c
Member Avatar for sabareesh
0
92
Member Avatar for vidyasmani

Hi all... I tried the following code in my Turbo C++ .. [CODE]int j=5; cout<<++j + ++j + j++;[/CODE] and got the result 20, as expected. But, when I replaced the code and assigned the same to another variable x, it gives result 21. ie, [CODE]int j=5,x; x= ++j + …

Software Development c++
Member Avatar for arkoenig
0
106
Member Avatar for judithSampathwa

Hi there, I have a form that loads data from the database and the and tose data are being disabled so that the user can’t edit any information on it. In the same form I have two radio button as received and denied, Weh I select deny another small form …

Software Development
Member Avatar for nick.crane
0
177
Member Avatar for lllllIllIlllI

Hi I have been trying to install the ERIC python IDE [url]http://www.die-offenbachs.de/eric/eric-links.html[/url] for a while now to no sucess. I could not i kept getting errors when installing the QT module [code] Determining the layout of your Qt installation... Error: Make sure you have a working Qt v4 qmake on …

Software Development ide python qt
Member Avatar for Tommymac501
0
822
Member Avatar for jlego

im going to try to explain this the best i can the programs here are setup using adodb.connection and adodb.recordset they run threw an odbc connecter that is on each machine in the company (i dont know, i didn't do it). here is what i do with the adors [code] …

Software Development mysql vb.net
Member Avatar for jugosoft
0
1K
Member Avatar for Ketsuekiame

Hello, here's the setup for the project. I have a WCF Service that is hosted on a net.tcp binding in buffered mode and ReliableSession enabled. The binding is configured to use TransportWithMessageCredential security. The certificate is a self signed certificate that I am identifying using the Thumbprint. The UserNameValidator is …

Software Development cybersecurity
Member Avatar for Ketsuekiame
0
170
Member Avatar for gahhon

brothers, please teach me how to show error message when a user input non-character type value? i try myself while i use if statement, but it will show me the error message too when type character type or string type. [CODE] if(name > 0) { system("cls"); printf("\t\t============\n"); printf("\t\t ALERT! \n"); …

Software Development c
Member Avatar for gahhon
0
152
Member Avatar for Plec

Hello, I'm writing a thesis and in order to interrogate the text have written a small programme in vba which allows me to run from a form boolean searches on the chapters which I've entered in an underlying table. The results are pasted to another table and can be viewed …

Software Development visual-basic
Member Avatar for AndreRet
0
112
Member Avatar for niall_heavey

Hi all, I literally only started looking at shell a couple of hours ago. I am looking to do just one task, which I think should be quite straight forward. I will try explain it as best I can......... Basically I am trying to automate the grep command from ubuntu …

Software Development perl shell-scripting ubuntu
Member Avatar for niall_heavey
0
119
Member Avatar for anraevlus18

Hi i am a newbie to perl.. I have a script which copies files from local machine to a remote machine. I am using Getopt::Long to get the command line arguments. "-d" : for directories "-f" : for files doubt #1 GetOptions ('d:s' => \@dir, 'f:s' => \@fil); If i …

Software Development perl
Member Avatar for d5e5
0
100
Member Avatar for Naveed_786

Dear All, I am calling a perameter crstal report which i have made in visual studio when i enter criteria in textbox it does not compare and prompt all the record how to resolve it please help. [CODE]Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, …

Software Development vb.net visual-studio
0
60
Member Avatar for sophie_kiu

what is the code to be put in your program such that your program could show its location?

Software Development vb.net
Member Avatar for meffe
0
83
Member Avatar for tincho87

Hi everybody. I'm developing an application that sends keystrokes to another background application. The problem is that i have so send a "Alt+F", but i can't get it to work. I'm using PostMessage: [CODE] [DllImport("User32.Dll", EntryPoint = "PostMessageA")] private static extern bool PostMessage(IntPtr hWnd, uint msg, int wParam, int lParam); …

Software Development html-css
Member Avatar for tincho87
0
3K
Member Avatar for Naveed_786

When i run the report there comes an error "Invalid data source i am using this code [CODE]Dim cryRpt As New ReportDocument cryRpt.Load("C:\PaymentSystem\PaymentSystem\Instalment.rpt") Dim crParameterFieldDefinitions As ParameterFieldDefinitions Dim crParameterFieldDefinition As ParameterFieldDefinition Dim crParameterValues As New ParameterValues Dim crParameterDiscreteValue As New ParameterDiscreteValue crParameterDiscreteValue.Value = TextBox1.Text crParameterFieldDefinitions = cryRpt.DataDefinition.ParameterFields() crParameterFieldDefinition = _ …

Software Development vb.net
0
48
Member Avatar for Neji

Please help me converting numbers to words.. i don't have idea for this... Regards Neji

Software Development vb.net
Member Avatar for pulpers
0
153
Member Avatar for yusuf.business

Hello friends ? I want to use mysql database in vb.net .. What is the full procudure for using mysql in vb.net.. thanks in advance......

Software Development mysql vb.net
Member Avatar for finito
0
236
Member Avatar for sganandhsg

Hi Friends, I will using Log4net in my application, Log file is created fine. Now i need to create folder based on the month and year I mean This month is July i need to create a folder name is Jul2010 then start next month automatlly create a folder for …

Software Development vb.net
Member Avatar for sganandhsg
0
81
Member Avatar for yusuf.business

how to make our c++ application bootable ? so we can boot from usb .... ? please help my friends i have searched a lot on internet but couldn't find appropriate thing ? thanks in advance ?

Software Development c++
Member Avatar for JasonHippy
0
223
Member Avatar for shizu

Hi.. I would like to use microsoft visual studio C++ 6.0 to build a execute file to detect whether network drive is connected and ready to used.. can anyone of you teach me how do I do this..?? my situation is I have 2 PC connect using LAN.. PC A …

Software Development c++ microsoft-access visual-studio
Member Avatar for graphicequalise
0
769
Member Avatar for Antler

Hi! I created a primitive login system and am wondering if I could somehow not show the actual password and instead asterisk. Here is the code : [CODE]#include<iostream> #include<string> #include<vector> using namespace std; int main() { string username; string password; cout << "Do you want to register?" << endl; cout …

Software Development c++
Member Avatar for jonsca
0
2K
Member Avatar for kirennian

Please note that I mean overlapping windows in a literal sense, not in the DWSTYLE sense listed within this very function. I've been having this problem for quite a while now whereby I create a number of windows using the above function and have been having issues with the main, …

Software Development c++
Member Avatar for kirennian
0
537
Member Avatar for sid.maths

I have made a series of programs, and I am facing a similar problem. This however is very strange, and maybe if you can get me around this I can find a way through the other ones: Look at this code: outside loop: int iter=0; loop: { blah blah -- …

Software Development java
Member Avatar for sid.maths
0
104
Member Avatar for supra

Hello Everyone, I want do a project on Java Applet/Swing for my final yr. Can anyone give me suggestions what kind of projects , specifically on what topic I should choose which can help in campusing. Frankly, I love programming in Java. Hope to get a reply from you. Thanking …

Software Development java java-swing
Member Avatar for peter_budo
0
212
Member Avatar for coroll

Hi, i get the following error java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in FROM clause. this is my code [CODE] import java.sql.*; public class DetOrderNum{ public static void main(String[] args){ Connection con=null; ResultSet rs=null; Statement stmt=null; int pkey=0; String itemn="jin"; try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:MY-PIZZA","",""); String q="select order_num from Order where …

Software Development java microsoft-access sql
Member Avatar for javaAddict
0
317
Member Avatar for mith_cool

I wrote a program to get first 100 no. which are divisible by 3. Heres the code [CODE] import java.io.*; class app { public static void main (String args[]) { for(int i=0; i<=100; i++) { int x; try{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter your no."); x= Integer.parseInt(br.readLine()); if(x%3==0) { System.out.println("The …

Software Development java
Member Avatar for javaAddict
0
125
Member Avatar for tones1986

I am attempting to print some output using XPRNT in my program. We are using very basic/old assemler assist program and mvs batch to code everything. My code basically reads in a employee number, hourly wage (in cents), hours worked, bonus (in cents), and deduction amount (in cents). I store …

Software Development assembly
Member Avatar for joemil
0
93
Member Avatar for Lovi Aggarwal

hi Lovi here..... I'm making a project on library management in vb. I have made the forms but I have a problem in coding. I want to do connectivity between the forms. Can anyone help me in this????? Thanks....

Software Development visual-basic
Member Avatar for AndreRet
0
147
Member Avatar for andrewktmeikle

Hey team, i'm having a problem with this query, [code] "SELECT * FROM marketingDB WHERE company_name LIKE 'allied' & '*'" [/code] the program ive written runs fine and it doesnt show any problem with the query infact the exact same query works fine on access but when i put it …

Member Avatar for andrewktmeikle
0
142
Member Avatar for yusuf.business

Dear friends ? I have searched a lot on net but i couldn't get any best articles.. I want to use mysql in my c++ applications . please provide a detail procedure for using mysql as database in c++ ? thanks in advance ... ?

Software Development c++ mysql
Member Avatar for yusuf.business
0
171
Member Avatar for litlemaster

[CODE] int cg = Convert.ToInt16(comboBox1.SelectedValue.ToString()); [/CODE] This code is giving an error. Please tell me where I m wrong.

Software Development
Member Avatar for litlemaster
0
96
Member Avatar for Jothe

hallo people, i want to start learning python and ruby for some projects i have anyone who knows a good resource site or books for this two languages. any books and where i can get them will be highly appreciated thanx in advance

Software Development python ruby
Member Avatar for anurag mishra
0
109
Member Avatar for sophie_kiu

NEED HELP~! Does anyone know how to import access data into sql server using vb.net? I want to create a openfiledialog and allow user to choose which access file to be imported into the server. Thank you so much~~ >.< PS. I am just a beginner of vb.net. So would …

Software Development sql vb.net
Member Avatar for Oxiegen
0
3K
Member Avatar for ryan311

[CODE]If Option1.Value = True Then a = 3 End If If Option2.Value = True Then a = 2 End If If Option1.Value = True Then a = 1 End If If Option4.Value = True Then b = 3 ElseIf Option5.Value = True Then b = 2 Else b = 1 …

Software Development visual-basic
Member Avatar for labq5
0
182
Member Avatar for ganesh_IT

Hi guys, pls somebody tell me the detailed concept of containment in c++. its urgent pls..................

Software Development c++
Member Avatar for jonsca
0
77
Member Avatar for sophie_kiu

how to add openfiledialog and pass the file location to the DTS package which is saved as VB file? Thanks.

Software Development visual-basic
Member Avatar for AndreRet
0
122
Member Avatar for pritesh2010

hello everyone. i have a problem with MDI parent.in my project there is parent form and child form. in my MDi parent form i had created fix layout panel where i want to show the other child form . but i dot no how to call child form on that …

Software Development visual-basic
Member Avatar for labq5
0
1K
Member Avatar for rootchord

I just recently finished my CIS101 and 201 classes for C++. My instructor says i show alot of promise and i really enjoy coding. but here is my problem: The semester is over and this next semester i won't be taking any CIS classes(need to get some general edu out …

Software Development c++
Member Avatar for aslamnandyal
0
188
Member Avatar for cintojose

Hello Everybody, I want my text box only accepts numbers and colon like 00:00 .The length should be limited to 5.Plese help as I stucked up with this............Thank You. CintoJose

Software Development vb.net
Member Avatar for Teme64
0
101
Member Avatar for coolbreeze

ill show the problem in the book first then ill tell you what i know. ___________________________________________________________________________ Then following formula gives the distance between two points (x1,y1) and (x2,y2) in the Cartesian plane: √ (x2-x1)^2 + (y2-y1)^2 its the distance formula..hard to type on here Given the center and a point …

Software Development c++
Member Avatar for gurusaranya
0
1K
Member Avatar for +_+man

how to make a simple password lock in c++?? i want a alphabetic lock btw thanks for helping

Software Development c++
Member Avatar for ylin333
0
946
Member Avatar for old_jefrey

I started to do some reading about template, found interesting example [code] template <class T1, class T2> bool GetItUP (T1 a, T2 b) { return (a>b?a:b); } [/code] And the way to use it: [code] int _tmain(int argc, _TCHAR* argv[]) { int a = 20; float b = 23.90; GetItUP<int,float>(a,b); …

Software Development c++ puzzle visual-studio
Member Avatar for mrnutty
0
106
Member Avatar for scar164

Hello all! So basically I start off with one array, then I run a function that takes 3 floats, puts those 3 floats into a temporary array, then it returns this new temporary array and where I call this fucntion, It looks like this: [CODE=c++] float array [] = { …

Software Development c++ opengl
Member Avatar for mrnutty
0
220
Member Avatar for jjhames

help !!!! please. array sort of 10 integers in ascending and descending order. thanks a lot plz... dani help..

Software Development java
Member Avatar for jjhames
0
735
Member Avatar for DrPhil

I am having a problem with the SQL INSERT command in VB. I am trying in move data from one table to another. The problem is I am going from a table with duplicates to one with no duplicates. Since there are duplicates the SQL statement bombs. Here is the …

Software Development microsoft-access sql visual-basic
Member Avatar for ryan311
0
179
Member Avatar for sophie_kiu

How to check whether two tables in SQL are the same using vb.net? Would u mind giving me the code? Thank you so much!!!

Software Development sql vb.net
Member Avatar for sophie_kiu
0
72

The End.