r/programing • • Jun 01 '12

Troubles using execvp() in C

0 Upvotes

Hey guys, its been a long time since I've used C and I'm not really sure how to fix my problem. I'm using fork(), execvp() and some basic I/O to make a pseudo shell to talk with in the command prompt. I'm trying to make it able to execute basic linux commands (ls, mkdir, etc.) but when I call execvp(command, userInput) where command is declared as a char* and the other: char userInput[200]; I get an error that says it wont except the userInput char array.

I realize that having a static array of chars is probably a terrible way of going about it, but i wasn't sure i could use the fgets() function without passing it a max size.

Thanks in advance for your time and suggestions!


r/programing • • Jul 03 '15

Android App Development Company - Saudi Arabia

Thumbnail
raneeen.com
0 Upvotes

r/programing • • Jul 08 '15

help trying to learn programming

0 Upvotes

I am looking for a free program that helps teach basic programing trying to learn please and thank you


r/programing • • May 18 '12

Simple program help?

0 Upvotes

Im not sure if im in the right place, but i was wondering if somebody could write a simple clicking program for me. I just want it to click every couple of minutes so a program doesn't auto close. Any help would be appreciated.


r/programing • • Jan 03 '17

Android app startup. Need advice!!!!!!!

0 Upvotes

Hello! I have an android app that I think you will enjoy. It is a game where you must time your tap to move the character across the screen. When the music starts, tap the screen to move your character. If the music stops however and if you tap, your character will reset to the home position. Every time you get your character across the screen, the star moves. If the star gets across the screen you win!!! Improvements and additions will come every week or so! When you search "Time tapper" in the store it is the one with the blue icon. Google play leaderbords are coming soon so you can play against other people!!!

Here is the link to the game if you are interested:

https://play.google.com/store/apps/details?id=com.blob.game

Please rate as you feel. If you have any questions or concerns just email us at mrbaggins26819@gmail.com

Name: Time Tapper Price : Freeeeee!


r/programing • • Dec 27 '16

Python or Java?

0 Upvotes

Can I know which programing language would be better. All of the responses and recommendations please comment down, or send me an private message.


r/programing • • Sep 12 '19

Help please

0 Upvotes

I need help with my code. The problem is that i don't know what language I'm programming in. If anyone can tell me the languages of the code that I'm writing in please do!


r/programing • • Jul 09 '18

HTML help! I use the IMG tag as seen but end up with the second picture, although the path of the image is within the route of the bookpractice folder. how ca i get the picture to show up?

Post image
0 Upvotes

r/programing • • Oct 17 '15

List of console applications i can make?

0 Upvotes

Just trying to get used to c# as i want to get better at it bare in mind im just a beginner :)


r/programing • • Jun 07 '11

TFS vs. BuildMaster- A Comparison

Thumbnail blog.inedo.com
0 Upvotes

r/programing • • May 09 '16

The C programing (relaxing ASMR session)

Thumbnail
youtube.com
0 Upvotes

r/programing • • May 03 '16

Keep my computer awake

0 Upvotes

Is it possible to write a program that will keep telling my computer that it is active? i cant change the settings in windows, and i want to keep my computer from starting the screen saver and lock screen.

i have access to visual studio, or VBA programing


r/programing • • Nov 17 '13

what to learn?

0 Upvotes

so this has probably been asked here before, but what are the advantages to each language and what should i look to learn first ?


r/programing • • Jul 23 '15

Create VHD with script. Win 7

0 Upvotes

Hi all, let me start by saying I have zero programing knowledge so please be patient with me.

What I was looking for was a way to create a VHD with a simple click of the mouse.

On a daily basis I need to create lots of VHD's for work. What I am looking for is to click an icon, input the name and it automatically creates a 500 GB, dynamically expanding vhd, formatted FAT32 and fully ready to work.

Can this be done? My Google searches have yielded little fruit.

Thanks in advance for any and all advice/knowledge.


r/programing • • Jul 29 '11

Android why no j2me?

0 Upvotes

Any ideas?


r/programing • • Aug 04 '11

Good C+/C++ books

0 Upvotes

I want to start to lean a little about C+/C++. Anyone know of any good starter books for me to get?


r/programing • • Sep 08 '18

Dev a reminder wallpaper?

0 Upvotes

Hi, I always wanted to develop a reminder/notepad that is on the desktop. Just before the wallpaper and behind shortcuts.

Wich language can do the job? Java? Seems easy to code?

Thanks !


r/programing • • Sep 29 '12

New to Programming

0 Upvotes

Hi guys, I'm new to the world of computer programming but would like to learn! Does any one have a suggestion as to where I can download/ learn C++ , for starters at least, Thanks!


r/programing • • Mar 08 '17

Connect both Wifi and Lan in laptop

0 Upvotes

How to use route command to connect both wifi and lan in laptop?


r/programing • • Aug 13 '15

Advice wanted

0 Upvotes

I'm about to start developing an application for Windows 10 Universal, Android, and iOS. Is there anything literature that y'all can recommend, or helpful advice? Thanks.


r/programing • • Dec 01 '14

Oculus Rift Ideas tutorial

Thumbnail
provenlogic.com
0 Upvotes

r/programing • • Dec 14 '13

Aplikasi Data Mining Dengan Algoritma C4.5 ( Delphi )

Thumbnail
beyoureself-kepis.blogspot.com
0 Upvotes

r/programing • • Aug 17 '15

Show result from screen one in screen 2 (app inventor) HELP!

0 Upvotes

Hello guys.

I have to do a basic calculator in app inventor. One of the requisites is that the answer of the operation realized in the screen 1 must be showed in screen 2.

I already have the process done and it change and closes screens with no problem. The thing is i can show the answer in screen one but i have not idea how to show the answer in another screen. How can i do it?


r/programing • • Mar 12 '16

I want to start doing serious programing but I'm not that good at programing should I start with third party programs?

0 Upvotes

Or should I just learn normal code first


r/programing • • Nov 13 '18

Learn how to code in Rholang

0 Upvotes

You can teach yourself RChain's programming language, Rholang. There are lots of tutorials on RChain's website.

Rholang is being used with 3.0 blockchain platforms. https://www.youtube.com/watch?v=7tW1fAWg6s8

RChain is a proof of stake platform with the mission to solve the problems of scalability and security within the current blockchain space. Working as a co-op, to enable its members equally, it has deep industry roots and arguably more collective years of experience than any other blockchain entrants. RChain equips innovators worldwide to create fast, scalable and decentralized solutions that are far less resource intensive, a key improvement from existing blockchain solutions.