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.8K People Reached
Favorite Tags
c++ x 50
c x 25
perl x 2
oop x 1

38 Posted Topics

Member Avatar for luisvaldes88

If you shared the source code, I'd see why you posted it here. Other than that...i'm just lost, can you explain why are you sharing a binary file?

Member Avatar for WaltP
0
261
Member Avatar for hello10
Member Avatar for WaltP
0
163
Member Avatar for Some Dude

Hi, To sum up, win32 api is a bitch. I'm not an expert on that but until somebody more knowledgeable appears i'd suggest checking http://www.winprog.org/tutorial/dialogs.html to see what you are missing. Also, if you think an error maybe ocurring, try and see what GetLastError() has to say.

Member Avatar for neithan
0
314
Member Avatar for dev.bardoliya.5
Member Avatar for mimah1
Member Avatar for ekarem

Well right now you are just storing from 0 to n (0, 1, 2, 3...) in numbers[] array. So numbers[4] will be 4 and so on. Is that what you want to do? I don't know if you have another source of int's (besides this for) that you want to …

Member Avatar for WaltP
0
228
Member Avatar for brahle
Member Avatar for jongiambi

Hi, I think you're asking for too much here. In my opinion there's no "right direction", you just have to solve all the parts of the problem. Maybe if you pick one part it will be easier to be helped, other than that it's basically do the homework for you.

Member Avatar for WaltP
0
300
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
239
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
263
Member Avatar for hhilo2002
Member Avatar for neithan
0
195
Member Avatar for ramadan10
Member Avatar for ramadan10
-1
141
Member Avatar for dot_binary

I'm not sure in *nix systems, but in windows you can use `sleep(x);`, x are the ms, including windows.h: `#include <Windows.h>` If you explain a little more what you want to do... because the `if( delay() ) {}` doesn't look good at first sight :)

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

[QUOTE=sadi000011;1057210]i also need the code i have realy tried to do myself but i m new so i feel very difficulty plz send me at [I]<<snipped e-mail>>[/I][/QUOTE] Might the sir be needing anything else?

Member Avatar for arpit56
1
531
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
128
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
151
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
91
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
117
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
99
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
153
Member Avatar for thisara

I know you asked for a linux OS but why not FreeBSD? I'm setting up my own server and i was adviced to use it as an excellent choice for my purpose.

Member Avatar for Crash~Override
0
301
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
162
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
127
Member Avatar for wangatang126

[QUOTE=wangatang126;1031025]K here is what i've got. However the program immediatley termanates. Why? Also if you could take my program and edit it it would be heavily appreciated.[/QUOTE] Your code looks kind of crazy. I don't understand any of this, why would you need 6 variables just to create a simple …

Member Avatar for neithan
0
157
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
137
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
191
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

[QUOTE=yellowSnow;1019422]Well it's a minor miracle that you even got into university.[/QUOTE] lol +100

Member Avatar for neithan
-1
133
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
611
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
201
Member Avatar for Saadulla

[QUOTE=saadulla89;1016489]I don't find from Google please help... does any one can help me??? and wrote to me compelete program????[/QUOTE] I don't think you will get somebody to make your homework, put in the place of the other people, they would be working for free by doing other's homework. Who is …

Member Avatar for Saadulla
0
135
Member Avatar for calypso&noname

[QUOTE=calypso&noname;1015799][CODE] while(cin>>x) { cin>>x; [/CODE][/QUOTE] while(cin>>x) does TWO functions. One is to evaluate if the cin is good and another is actually executing that cin >> x so only by typing that while you already got the user input so the second cin has to be deleted.

Member Avatar for drjay1627
1
157
Member Avatar for gottlieb78

[CODE] void insertSeats (char seats [][5]) { int row = 1; char A; for (int i = 0; i < SEATROWS; i++) { cout << row << " "; seats [i] = '1'; row++; for (int j = 0; j < 4; j++) { if (j == 0) cout << …

Member Avatar for ImMoRtAl-
0
876
Member Avatar for mauryoung

[QUOTE=mauryoung;1014628]isn't this a bit too advanced for my beginners level? i get the concept tho[/QUOTE] As far as i've seen where you have stuck with your code, the program you want to creat itself is way too advanced for you aswell. Don't try to go that fast. First walk, we'll …

Member Avatar for necrolin
0
116
Member Avatar for neithan

[CODE] unsigned longitud; cin >> longitud; vector<char> palabra(longitud); for (unsigned i = 0; i < palabra.size(); i++, letra += 1) { palabra[i].push_back ('a') << " "; }[/CODE] The error i get: [CODE]error: request for member `push_back' in `(&palabra)->std::vector<_Tp, _Alloc>::operator[] [with _Tp = char, _Alloc = std::allocator<char>](i)', which is of non-class …

Member Avatar for neithan
0
140
Member Avatar for neithan

[ICODE] * Don't use system("pause") to pause your program if possible. Use getchar( ) if you are using C and cin.get( ) if you are using C++. [/ICODE] Why is that? A reasonable explanations for those tips would help to learn.

Member Avatar for marco93
0
674
Member Avatar for 0805638

It would make your code much more readable and clean to convert those multiply and divide lines into two shiny functions.

Member Avatar for Grn Xtrm
-1
82
Member Avatar for neithan

I'm new to C++, and i've seen some C and C++ code. I tried array[] and vector<> so i see i can use both, why should i use what way to work with vectors? Furthermore, i've seen a lot of "array[]" in this forum... so, any lead? Thank you! Oh …

Member Avatar for neithan
0
385

The End.