132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Benkyou

So here's the thing, im reading a binary file wich is an image. I think im reading this correctly, so i have the whole binary info i red stored in a buffer and i wanna display this in my screen like '0100010010011' is there a way for me to do …

Software Development c image
Member Avatar for Benkyou
0
120
Member Avatar for nourbee

can anyone here can help me? i only want a simple program which is the user must enter the right serial number before enter into my program... im using VB 2005 and using PDA application (mobile pocket PC) plez help me.... i only want the simple code....

Software Development vb.net
Member Avatar for summerishere
0
184
Member Avatar for Benkyou

Hi there, this is my first post here so please tell, if im doing something wrong. Ok so heres the the struct [CODE] typedef struct _CMD { char nome[100]; char arg[100]; struct _CMD *prox; }*CMD; typedef struct _sCMD { int cont; CMD inicio; CMD fim; }*sCMD;[/CODE] The function i use …

Software Development c linked-list
Member Avatar for Benkyou
0
115
Member Avatar for Logi.

Hi there, Im not very good with coding UIs but having to do one for a program im writing atm.... I have two windows in seperate classes and they both extend JFrame. From Window A i open Window B from the menu options but when i then want to close …

Software Development java
Member Avatar for masijade
0
102
Member Avatar for cmick56

I am having trouble figuring out how to write the following code and having the the two void functions? I am supposed to pass the values of the integer array to the functions using the call by reference method. here is the code i have so far. [code=cplusplus] include <iostream> …

Software Development c++
Member Avatar for Ancient Dragon
0
142
Member Avatar for kashn

Please tell me how/where is it explained on using Java Tables? I know about JTables, but the problem with that is that I can't seem to get rid of the onClick MouseEvent on that... I need a static table basically with 2 columns and 1 row. ~ Thanks!

Software Development java
Member Avatar for kvprajapati
0
94
Member Avatar for athlon32

Ok...i've been getting a weird error in Gtk+. I've narrowed it down to this line: [code]gtk_menu_shell_append(GTK_MENU_SHELL(helpmenu5), about);[/code] that gives me this error: [code](packing:5236): Gtk-CRITICAL **: gtk_menu_shell_insert: assertion `GTK_IS_MENU_SHELL (menu_shell)' failed [/code] Now my program compiles, however the menu wont pop up and the terminal prints that error...does anyone know what …

Software Development c
Member Avatar for athlon32
0
121
Member Avatar for vb_programmer

Hello Forum Members; I'm currently working on a project in which I need to extract Email addresses from Outlook DBX files. I'm facing little difficulty while doing this. The main problem in front of me is handling large files! Basically, I think my approach is to be refined. Currently, I …

Software Development data-structure email listview visual-basic
Member Avatar for zwr
0
256
Member Avatar for imaloner

I am posting two threads because I have two different problems, but both have the same background information. Common Background Information: I am trying to rebuild code for a working, commercially sold application with only partial build instructions. The previous maintainer of the code (a mixture of C and C++) …

Software Development c++ developer-tools
Member Avatar for JasonHippy
0
768
Member Avatar for exzibit23

i already connect to internet. but if im trying to access the site, it only gives me the code (page source) of it. why is that?

Software Development java
Member Avatar for exzibit23
0
70
Member Avatar for Poab9200

Hello All, I have a question more like suggestions but none the less. For the past few days I've been thinking what "skill sets" not too sure what the proper word would be. Ok more to the point. I just what to know what things a programmer would need to …

Software Development c c# c++
Member Avatar for Poab9200
0
124
Member Avatar for csy

I used a dataset in multiple-reader and single-writer design in my application , but the 'read' and 'write' is possible happend at a same time . will it thread safed ? or I need to apply any locking mechanism? but i don't wish to lock the 'read' to be single …

Software Development dataset
Member Avatar for Stinomus
0
138
Member Avatar for mindfad

Hi Ive recently tried to move a python code from a mac version to a version of Psychopy IDE. Now the code wont work on the pc it tells me there a syntax error. Is there something different that mac uses in the python code then the pc? if not …

Software Development ide python
Member Avatar for mindfad
0
161
Member Avatar for red999

Hi, I am writing a program that allows a user to enter a string of 0s, 1s, and x's. The program will then print out all of the possible combinations that a binary number can have with the string. Example: If the input is 1xx0 The output would be 1000 …

Software Development c
Member Avatar for JJS
0
80
Member Avatar for meshari

hello Everybody . . I am a new member and I am looking for somebody can help me . . just I want the code in Assembly language if somebody can write the code for me that do these things :- 1-Make a data file named "datafile.txt" with 100 integers, …

Software Development assembly
Member Avatar for Salem
0
112
Member Avatar for ChristineB

Hello - I am new to this forum. This post is to get your input on the best location to set up a small Delphi/Pascal development shop. Are there areas in the US where highly skilled Delphi/Pascal programmers are available? We want to co-locate to utilize Scrum development techniques. Your …

Software Development delphi pascal
Member Avatar for mark.b
0
204
Member Avatar for imaloner

I am posting two threads because I have two different problems, but both have the same background information. Common Background Information: I am trying to rebuild code for a working, commercially sold application with only partial build instructions. The previous maintainer of the code (a mixture of C and C++) …

Software Development c++ developer-tools
Member Avatar for imaloner
0
822
Member Avatar for drjay1627

I'm trying to code a Trie in Python. Any suggestions as to where I should begin? drjay

Software Development python
Member Avatar for jlm699
0
113
Member Avatar for brashli

I am trying to do calculations onto a file that I created in python. But I can't seem to make a string with the data without loosing my quotations or going word by word... i have attached my code... This then produces... ['Corn', 'For', 'Grain', 'Irrigated', '1970', 'Colorado', 'Chaffee', '8', …

Software Development python
Member Avatar for jlm699
0
153
Member Avatar for hughesadam_87

Hey all, I have a class with various methods and I want to pass the output of one method into the next method. For example: [CODE]class RockPaperScissors: '''Rock paper scissors game, best of 3''' tries = 3 def __init__(self, name): 'Reads in users call' self.name = name print 'You picked …

Software Development python
Member Avatar for jlm699
0
180
Member Avatar for ankushbansal89

i have recently started to learn c programming. while learning i came across a problem in which we are supposed to find the product of divisor of numbers of range upto 10^6. so, plz if someone can give me any direction on this problem.

Software Development c
Member Avatar for ankushbansal89
0
87
Member Avatar for jaseerabubakar

I am trying to write a scipt which will take a movie name, search it in google with 'I am Feeling lucky' and return the redirected page. [CODE]import urllib.request import urllib.response import urllib.parse proxy=urllib.request.ProxyHandler({"http":"http://www-proxy.us.oracle.com:80"}) auth=urllib.request.HTTPBasicAuthHandler() opener=urllib.request.build_opener(proxy,auth,urllib.request.HTTPHandler) urllib.request.install_opener(opener) url= 'http://www.google.co.in/search' values = {'hl' : 'en', 'q' : 'Departed imdb', 'btnI' : …

Software Development oracle python
Member Avatar for jlm699
0
209
Member Avatar for kingarthur

Hello everybody! I want to create a JTable (showing data from mysql..) on a Panel. But I dont get it..nearly every method is unavailable. Here is my code for creating it on a frame: [code] package gfx; import java.awt.*; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import java.io.*; import java.sql.*; import java.util.*; import …

Software Development java java-swing
Member Avatar for cruzer45
0
148
Member Avatar for sravan953

Hey guys... I created a uber-basic brute force program(not exactly 'brute force'), where in the program opens a 'log.txt' file and reads the contents. I created a list of alphabets A-Z and numbers 0-9....what I wanted the program to do was, try out different combinations with the given set of …

Software Development python
Member Avatar for vegaseat
0
130
Member Avatar for mem81

Hi Guys, Spent lots of time looking around , reading MSDN help and whatnot. I don`t seem to get the right answer still. What I would like to do is To parse XML file to an array in vb.net console application.The XML file is very simple. The thing is that …

Software Development vb.net xml
Member Avatar for mem81
0
2K
Member Avatar for san gabriel

output should like that: input #: (909)869-2511 area code: (909) exchange: 869 ext.: 2511 telephone #: (909)869-2511 this is my code so far: [code=cplusplus] #include "stdafx.h" #include <iostream> #include <iomanip> #include <cstring> using std::strtok; using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char sentence[32]; char *tokenPtr; tokenPtr = &sentence; …

Software Development c++
Member Avatar for siddhant3s
0
170
Member Avatar for serkan sendur

i want to be able to send sound file in an xml message, is that possible, how? thanks.

Software Development xml
Member Avatar for serkan sendur
0
2K
Member Avatar for obiphil

Hi, i wonder if someone can help me with this, I am trying to get the results of top across multiple machines at the same time. I only care about the first process listed by 'top'. I can't figure out how to make this happen. I have got passwordless SSH, …

Software Development shell-scripting
Member Avatar for obiphil
0
112
Member Avatar for DayOldPorridge

I was wondering if there's a simple way to create a wget-like program in C? If anyone could point me in the direction of a short guide/tutorial focusing on fetching web pages in C, that'd be great. Beej's guide is a bit too detailed, for me -- I just want …

Software Development c
Member Avatar for marco93
0
72
Member Avatar for shakeelahmed22

what is the difference between throw and throws clause in java???? mmm.....i no that all methods in java use the throw statement to throw an exception and the throw statement requires a single argument : a throwable object.... but plz can any1 tell me the function of the throws clause?????

Software Development java
Member Avatar for shakeelahmed22
0
111
Member Avatar for samir_ibrahim

I have this issue which I did not find an answer to it. I am creating a small app which SUPPOSE to be easy and it is about getting 4 things (User Name, Pc Name, Domain Name, and IP Address) I have over 35 pc's connected to a domain, and …

Software Development api dns vb.net
Member Avatar for samir_ibrahim
0
92
Member Avatar for serkan sendur

i understood that foreach statement's function call part only executes once : form1.cs : [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication32 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { …

Software Development
Member Avatar for serkan sendur
0
117
Member Avatar for serkan sendur

this is not a question, this is snippet to encode any file to base64 string and decode that encoded string to that file back. i attach the project to this post too. Form1.cs : [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; …

Software Development
Member Avatar for serkan sendur
0
329
Member Avatar for ia2196

I have a list which is of type class people. def class people: name="" age=0 class poeple has two data members name, age I have a list of all person stating in the city as a list of objects of this class.list is called population now i get an query …

Software Development python
Member Avatar for jlm699
0
82
Member Avatar for jbisono

Ok I have seen to many post about this and nothing work for me, I just do not get it. I have a simple datagrid which i want to add rows, NOTE: this datagrid have no relation with database so everything has to be done datatable or arraylist whatever you …

Software Development dataset
Member Avatar for jbisono
0
214
Member Avatar for lexusdominus

Hello! google has turned me up at this forum so many times i think it would be stupid to ignore the hints & not get registered! Im having some problems with objects. Here is my code: [CODE]#include <iostream> #include <string> using namespace std; class planet{ public: int moons; int mass; …

Software Development c++
Member Avatar for lexusdominus
0
140
Member Avatar for Motiranjan

HI, I need some quidance how to practice vc++ to attend some interview. What are the main topics I have to cover. Thanks Motiranjan <snip email>

Software Development c++
Member Avatar for Motiranjan
0
84
Member Avatar for antobx

Hi , I create a xml string using a xmldocument (c# 2.0 ) This is my code (more or less) XmlElement MySearchNode = xmlDoc.CreateElement("MySearch"); xmlDoc.AppendChild(MySearchNode); ... XmlNode node1 = xmlDoc.SelectSingleNode("/MySearch/Objects"); XmlAttribute nameAttrib = xmlDoc.CreateAttribute("result"); nameAttrib.Value = "012"; node1.Attributes.Append(nameAttrib); xmlDoc.outerxml I want to validate the xml string against a XSD : …

Software Development xml
Member Avatar for kvprajapati
0
449
Member Avatar for h.liang

Hello, This is my first time posting anything here. I have learned c# before when in school. But now at work I'm trying to make a program using c# and I'm encountering a program. I am a novice, and is hoping everyone's expertise can help me. Essentially I'm developing a …

Member Avatar for kvprajapati
0
213
Member Avatar for Sylenas

Hey, i am making a program that will save some text from fields into a notepad, i have the save function worling perfectly but what i have no idea how to do is filling the fields with data from a saved notepad. I was planning to make a function that …

Software Development vb.net
Member Avatar for Teme64
0
2K
Member Avatar for still_learning

I am still kinda new to programming and I have a questions (yes it is a homework question), but I am not looking for you to give me the answer. I would like someone to explain to me how to go about determining the number of key comparisons for an …

Software Development java
Member Avatar for kvprajapati
0
386
Member Avatar for allsey_1987

hey all, i'm working on a very simplistic example to revive my cpp skills for an up coming work placement. however i'm running into what seems an inconsistant error using ostream (cout)... have a look at the following code in the main()... :: main.cpp :: [code=CPLUSPLUS] #include <iostream> #include "IntArray.h" …

Software Development c++ display
Member Avatar for allsey_1987
0
86
Member Avatar for Chumpcash

Hey, I really need some help fixing the errors in this source file! I honestly don't know how to fix some of the errors. This assignment has to be submitted it 2 days. I've looked for the missing sytax errors and the other ones but i just cant seem to …

Member Avatar for Yiuca
0
176
Member Avatar for pardeep3dec

I need a small code that can read a text file from LAN i.e. through IP address and there is no sharing folder on that pc is it possible to read a text file read and write on the same time by more than 2 pc Please help

Software Development vb.net
Member Avatar for ithelp
0
120
Member Avatar for SoulMazer

So, I have this script that I am using to study some Biology vocab words for my final tomorrow. All I did was put the list of words/definitions in my existing script, and everything seems to go wrong. I have a total of 50 definitions, yet it says there are …

Software Development apple python
Member Avatar for SoulMazer
0
135
Member Avatar for Clawsy

Hello, I just started reading and learning DirectX SDK's tutorials in order to develop skills for game programming. I don't know COM very well (i just start learning it). I read lights, materials, mesh and BasicHLSL DirectX9 tutorials (line by line). I know C++ and math (not VERY good math …

Software Development c++
Member Avatar for Stinomus
0
371
Member Avatar for toko

Ok, I have one sub and I have it handleing different events of different objects. So my problem is I want to determine which event was triggered from which object. Can anyone help me out?

Software Development vb.net
Member Avatar for Teme64
0
119
Member Avatar for clutchkiller

Is it possible to open a file in binary mode and make an array out of it then to encrypt that information. I guess I should ask how you would start something like that? Thanks

Software Development c++
Member Avatar for ArkM
0
146
Member Avatar for Heli

Hi, I'm currently trying to create a linked list to use with a BSP Tree, however the root node keeps on losing its' values as soon as I leave the function. The code is quite extensive, so I'll try to post the relevant sections. This is the header file. [b]OpenGLView.h[/b] …

Software Development c++ linked-list
Member Avatar for Stinomus
0
116
Member Avatar for jondsam

[code=cpp]#include <iostream> using namespace std; int Main() { int i = k + 1; cout <<i ++ << << endl; int i = 1; cout << i++ << << end1; return 0; } [/code] Please help me? What is wrong with this code? I am a C++ Noob! I just …

Software Development c++
Member Avatar for lexusdominus
0
115

The End.