- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 12
- Posts with Upvotes
- 12
- Upvoting Members
- 7
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
- PC Specs
- AMD @2.9GHz, 40Gig Intel SSD, 21 inch LED LCD Ubuntu Linux 10
Hi all, first thread in here. I usually don't open my executables with any sort of editor, but for the sake of curiosity I've tried opening one. And what I've found is not that funny: I've found myself able to edit every kind of string. Of course you have not … |
|
|
Aside from the Assembly Language, what is the most powerful language? |
The server only does the basics. TODOs: The header method needs expanding. The file send method can't handle too large files. Maybe write custom buffer class since some buffering is done. Keep cache of recent files. |
|
[B]!USING PYTHON 3.1![/B] Hello DaniWeb! Today I'm going to be posting a [B]simple[/B] threading tutorial. First of all, what is threading? Well, threading is just another way of doing a side task without interrupting the main program. Now here's a simple example. Let's say we are going to make a … |
|
Hello all, I'll hopefully be attending a cognitive neuroscience PhD program next fall and I'd like to learn some programming beforehand (having programming skills helps for lots of neuroimaging labs). Labs I've worked in used UNIX, MATLAB, and E-Prime (visual basic) and I'd really like to improve my knowledge before … |
|
[url]http://paste.pound-python.org/show/941/[/url] Having trouble getting a loop to write to a series of newly created sequential blank .wp files. Grateful for any help, thank you. Regards & a Happy New Year! Banjoplucker. |
|
Hi there. I was trying out a relatively simple program to convert a line of text into a 2-D string array which each word in a different row but it isn't working. The program is [CODE] #include <iostream> void main() { int i, j, k=0; char line[30]={"This is a test"}, … |
|
Hello forum. I'm new to c programming. I have been reading source files from my smt32 firmware and I came across this code. In one of my books I read that you can have macro functions. Is this function testing whether I2C1 and I2C2 is enabled? [CODE]#define IS_I2C_ALL_PERIPH(PERIPH) (((PERIPH) == … |
|
Hello I make java application that read String from text field and convert it to another String it may consider type of encoding . but i want process character by character when user still typing on the the text field. i.e. a-->s ah-->sd ahm-->sdf ahme-->sdfg ahmed-->sdfgh any one can help. … |
|
|
|
Hello - quick question, I have created a method which prints a chosen symbol multiple times: - User enters 5 - Print this: ***** **** *** ** * I'm aware of recursion and know how to use it, my method uses it to do the above but I also use … |
|
[CODE]// Cubic conversion of Borwein's Algorithm // Each iteration converges // cubically against 1/pi; // that is, each iteration // approximately triples the // number of correct digits. // Program written by ROBO_HEN5000 // Algorithm complements of Wikipedia. #include <iostream> #include <cmath> using namespace std; int main() { float a; … |
|
I am creating a creating a program which needs the ability to make the get stream pointer jump to a specified line in the textfile it has opened. For example line 153. The lines have a variable length and contain only numbers. Is there a way to do this and … |
|
Hey guys, I've been trying to solve this problem many ways now, and am really just not familiar enough with the language to see an elegant solution. I have a dictionary, where each value is itself a list of lists. For example: [CODE]keyA:([x1,y1,z1], [x2,y2,z2] etc...) [/CODE] Within a key, I … |
|
Hey guys im getting back into Java after a break from programming. And i was wondering what is the best integrated development environment for running java.Im sure there is no one Best, but your input would be greatly appreciated. |
|
I'm assuming there's no easier way to do this. Is thread locking really automatic? Am I misreading the documentation? [CODE]from threading import Thread make_thread = lambda fn, *args: Thread(None, fn, None, args).start() def my_fn(*args): for arg in args: print (arg) make_thread(my_fn, "toaster", "ovens") [/CODE] |
|
What are some hints or tips on writing efficient functions? I read about converting the code to assembly, and I've also read about the stack and functions. However, I fail to understand how data stored higher can be accessed before the end on a FIFO stack, as any local variable … |
|
Hi. I have this code but I want it to store the same data and function using objects. However, I would like to also know how to get information from the objects in an ArrayList. Currently the information is stored directly without the using of objects. I also want to … |
|
when i compile program then error are show in program that #include<iostream.h> or #include<conio.h> are not find. i also changed my directory that c:\tc\include or c:\tc\bin also but program not run error show that unable to with file include iostream plz tell solution of this. |
|
hello. im completely new to Java. i have done quite a bit of C# in the past, so that should be an advantage really. my question is, which area or section of Java should i start studying (i dont need to go through console applications..) to have a quick start … |
|
Writing a program that reads a string of arithmetic expression from the keyboard and evaluates the arithmetic operation in the string. Some example runs are given below. program should accept only * any real or integer numbers * four basic arithmetic operators, +, -, *, / * paranthesis ( , … |
|
My code compiles and runs but does not do what I want. It is NOT allowed to change main(). I'm trying to build Base(almost like how i typed), Derived classes and type their member functions. [CODE]//--------------------------------------------------------------------------- #include <vcl.h> #include<iostream> #include<fstream> #include<stdlib.h> #include<conio.h> using namespace std; #include <vcl.h> #pragma hdrstop //--------------------------------------------------------------------------- … |
|
Hi, so I finally got around to looking into OOP in c++ and I have a question about classes. So I made this simple class: [CODE]#include <iostream> using namespace std; class Shape { int xPos, yPos; public: Shape(int x, int y) { xPos=x; yPos=y; } } ; int main() { … |
|
I want to create a class which will be responsible for reading an input file and then filling up my other classes...But i do not know how to begin...any ideas? |
|
I read about a coding style where not one variable is changed. Everything must stay constant. I don't remember what it's called, but it's the bomb. I never realized this little project would be [I]so easy[/I]. Here is a 98 line calculator that supports [B]()^*/+-[/B]. If you find a bug, … |
|
I have been trying to invoke the default destructor for a class of mine (see below). when I try I get this error: "no match for 'operator~' in '~Card(((const Card&)((const Card*)(& hearts[1]))))'" [CODE] class Card { public: bool inPlayer; bool inDeck; bool inOpp;//in opponets hand. int type; //!< Member variable … |
|
hey all, im workin on a text rpg that has become very long and i have all the code on one page. basically i wanna break it down so its more organized and easier to understand. I read some stuff here and gathered that I need to do some research … |
|
i am trying to get java SE development kit for my mac book pro (which has snow leopard) someone told my to download this java on the apple website but it did not work it just said this: This update requires Mac OS X 10.4.11 or higher. Mac OS X … |
|
Greetings to you friends)) Advice please - how to get integer value from the console? I did so, but nothing good can come out - [CODE] short int n = 0; n = (int)getchar();[/CODE] thank you in advance for your reply )) |