Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
82% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #2K
~13.4K People Reached
Favorite Tags
Member Avatar for luisvaldes88

A simple project that provides an interface to encrypt and decrypt strings using the next algorithms: - AES - Blowfish - Cast - DES - Idea - Rc2 - Rc4 - Seed The project uses PoCo C++ libraries, they have a nice and easy to use interface for OpenSSL I …

Member Avatar for WaltP
0
254
Member Avatar for hello10
Member Avatar for WaltP
0
161
Member Avatar for Some Dude

So basically I am new to API programming and teaching myself. I've done a bit of console C++ that I got off of.... an internet tutorial. The story is the same here too. I am somewhat aware of what the lines of code do, though I am not yet a …

Member Avatar for neithan
0
307
Member Avatar for dev.bardoliya.5
Member Avatar for mimah1

#include <iostream> using namespace std; char chessboard[100][100] ={' '}; int n; int savingposition[100][2]={ }; //checking rows.... bool checking (int row, int column){ for(int i = 0; i< n; i++){ for(int j = 0; j < n; j++) { if((j+i== column+row|| column - row == j-i || i== row || j …

Member Avatar for mimah1
0
153
Member Avatar for ekarem

Hi I would like to save integer values from 0 to n ( n = 112 e.g.) to a char array. How can I do this? char numbers[n]; for (int i = 0; i<= n; i++) { numbers[i] = i // or numbers[i] = 'i'; when I write code like …

Member Avatar for WaltP
0
223
Member Avatar for brahle

Always use scanf() and printf(). They are much, much faster than cin and cout. Also use stl algorithms, like sort, reverse and find, especialy if they are member functions of a container class you use.

Member Avatar for neithan
0
2K
Member Avatar for jongiambi

The question asks: Write and compile a C++ program that simulates the arrivals of airplanes at Regina airport. An airplane is represented using a C++ struct. Each plane belongs to an airline, such as United, and records the city from which it is arriving, for example Chicago. The airport is …

Member Avatar for WaltP
0
290
Member Avatar for neithan

Hi! I'm trying to implement the easy curl function to get a website, `curl_easy_setopt(curl, CURLOPT_URL, m_sURL);`, where the third argument is the only one that i give, and it's in this part of the code: ... public: string m_sURL; URL() : m_sURL("http://www.google.com") { } ... Now, when I call `curl_easy_setopt(curl, …

Member Avatar for sftranna
0
235
Member Avatar for neithan

Hi! I understand almost all basic theory in C++ (including templates, inheritance, STL etc.) and I'd like to start understanding C++ in Windows, specifically stuff related to memory, calls, hooks, stuff like that. I don't visualize what do I want to do exactly (probably that's why I'm asking here) but …

Member Avatar for np complete
0
179
Member Avatar for hhilo2002

Hi all, class A { public: A(); ~A(); } class B { public: B(); ~B(); private: A *a; ->declares a pointer to class A object A a; -> holds the class A object } Whats the difference between the 2 type of declaration of a class A instance? Are there …

Member Avatar for neithan
0
191
Member Avatar for ramadan10
Member Avatar for ramadan10
-1
138
Member Avatar for dot_binary

Does anyone know of a header file for windows with a function that enables the execution of code once every specified number of milliseconds, something that can be used like this: if ( delay(5) ){ // do something every 5 milliseconds } If it's in microseconds is even better. If …

Member Avatar for Ancient Dragon
0
3K
Member Avatar for leefuren
Member Avatar for neithan

Hi all! I'm new to pixel/graphic management and fairly new to C# as well but i'm learning some AI at the same time, very basic of course. I did some kind of "Game of life", you know that it imitates cell birth and death and whatnot. I have it working …

Member Avatar for neithan
0
127
Member Avatar for neithan

Hi! I'm a newbie and i have kind of a teoric doubt. I wonder where the functions/events truly reside. For example, when i doubleclick a form or a button, i can see in the events properties that a function is created in my code (private void Form1_Load(object sender, EventArgs e), …

Member Avatar for nick.crane
0
149
Member Avatar for neithan

Hi. I'm new to C# and i'm facing this wierd thing. To put it simple i have two classes: - Especimen - Form1 Form1 has a button, when you click it it generates 10 objects of class Especimen. This is a very simple class, it's supposed to simulate a biological …

Member Avatar for apegram
0
90
Member Avatar for neithan

Hi, i'm just mixing file handling and struct types and pointers to learn, but i'm a little stuck on this. I might be doing something awfull i can tell, sorry for that. Can anyone help? What's the best way to pass [CODE]#include <stdio.h> #include <ctype.h> #include <string.h> #include <stdlib.h> struct …

Member Avatar for Narue
0
114
Member Avatar for neithan

Hi everyone, i have this portion of code [CODE=c]while(c = getc(file) != EOF)[/CODE] c is an int and file is a FILE *file = fopen(filename, "r"); The filename points to a file with 2 lines, 10 characters total. That while always makes c a value of 1 (accodring to ASCII …

Member Avatar for neithan
0
94
Member Avatar for neithan

Hi, i'm facing a weird behavior in this code that i just wrote. It was supposed to read a string from stdin and just write it out. I've debugged it and for me it reads perfectly, but in the while (line 38), *p just seems to be taking weird chars …

Member Avatar for gerard4143
0
147
Member Avatar for thisara

Hi I need to know what's the best/stable and free OS for servers. (I was advised to install Ubuntu 9.04 Server). Did anybody installed this before on a heavily loaded commercial environment? Regards, Thisara

Member Avatar for Crash~Override
0
295
Member Avatar for neithan

I want to finaly learn what's up with pointers and arrays, so i made up this program: [CODE]#include <stdio.h> int main() { int cantidad_frases = 0; printf("Cuantas frases quieres escribir?: "); scanf("%d", &cantidad_frases); char *frases[cantidad_frases]; for(unsigned i = 0; i < cantidad_frases; i++) { [B]for(; *frases[i]; frases[i]++)[/B] { *frases[i] = …

Member Avatar for neithan
0
155
Member Avatar for neithan

I'm learning C, but a friend of mine asked for help with this code. I have debugged it with C::B and actually it crashes when getting out of the switch and starting to print out the menu again, after selection the first option (1. Polinomio) I 'watched' the polinomio pointer …

Member Avatar for Dave Sinkula
0
123
Member Avatar for wangatang126

hi im trying to write a C program that produces an array like this 1,2,4,8,16... Basically i produce an array with with the power of 2 starting at 0 and going up to n. Here is my current code: However the array dosent show. What is the problem? # include …

Member Avatar for neithan
0
154
Member Avatar for neithan

I'm focusing now on this I/O thing, even writing a guide by looking some sources. I want to cover it all i can about stdin i/o and if it looks good in the end i'd love to share with you. But that's still OT. I can't get rid of the …

Member Avatar for neithan
0
133
Member Avatar for neithan

Hi everyone. I am so confused in input and output! I'm following what it looked to be a nice tutorial from VTC and it shows how to use scanf and printf. But i'm seeing everywhere things like printf and scanf and getc, getch, puts, gets...wtf? I learnt the diff between …

Member Avatar for Narue
0
189
Member Avatar for neithan

Hi everyone, nice to join this community. I have a doubt, why can't i get a larger avatar than this? Other user's avatars are bigger! Thank you.

Member Avatar for neithan
-1
232
Member Avatar for dragonbone

HI , I am a student in an university... I am assigned a project about the knight's tour on the chess , but must use the Warnsdorff's rule ... rule : Put a knight on the chess with any square , and find all patchs of knight (knight pass each …

Member Avatar for neithan
-1
128
Member Avatar for neithan

I want a vector<string> with some values by default. I wanted to do something like char **strings = {"bla", "blo"} How to do it with vector<> without using repeated push_backs?

Member Avatar for Dave Sinkula
0
603
Member Avatar for neithan

I'm new to C++, i'm learning with the help of Stroustrup Principles of C++ book, with this forum etc I'm doing console apps that treats and operates with numbers and so on, as i see you do the same, at least that's what i see people asks in the forum. …

Member Avatar for neithan
0
195