420chan now has a web-based IRC client available, right here
Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the float Name#Password
A subject is required when posting a new thread
Subject
Comment
[*]Italic Text[/*]
[**]Bold Text[/**]
[~]Taimapedia Article[/~]
[%]Spoiler Text[/%]
>Highlight/Quote Text
[pre]Preformatted & Monospace text[/pre]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


Community Updates

420chan now supports HTTPS! If you find any issues, you may report them in this thread
Bitcoin trading bots? by Phineas Dunningkock - Fri, 26 Feb 2016 14:56:11 EST ID:c9gFFBFz No.35236 Ignore Report Reply Quick Reply
File: 1456516571224.jpg -(347780B / 339.63KB, 1000x843) Thumbnail displayed, click image for full size. 347780
any one else write their own bitcoin trading bot? it is very easy, I just run mine in Node through coinbase. you can backwards test an algorithm on the entire history of bitcoin transactions too before putting any real money in it.
>>
Cyril Fiddlestedge - Sun, 28 Feb 2016 05:53:46 EST ID:5q2tULje No.35245 Ignore Report Quick Reply
lol buttcoins

If you want to play around with algorithmic trading just use metatrader and a low end broker.
>>
Cyril Fiddlestedge - Sun, 28 Feb 2016 05:59:44 EST ID:5q2tULje No.35246 Ignore Report Quick Reply
If you really want to trade butts there is this btw:
https://btc-e.com/news/183


decoding protocols by Nigel Pommerhet - Fri, 01 Jan 2016 01:03:37 EST ID:q+Mluqqw No.34953 Ignore Report Reply Quick Reply
File: 1451628217496.jpg -(135715B / 132.53KB, 894x894) Thumbnail displayed, click image for full size. 135715
https://media.ccc.de/v/32c3-7493-how_hackers_grind_an_mmorpg_by_taking_it_apart
5 posts omitted. Click Reply to view.
>>
Nathaniel Cheppernatch - Thu, 11 Feb 2016 19:00:47 EST ID:LxwUYuqe No.35145 Ignore Report Quick Reply
>>35144
Bru you're fucking retarded. Not only does your gibberish not have anything to do with security, but most videogames are realtime applications.
>>
Update - Thu, 25 Feb 2016 06:18:37 EST ID:tSOrTy4O No.35228 Ignore Report Quick Reply
>>35145
Blowfish, SHA-256-AES, and the ultra secret ROT13!!! base64 isn't used for obfusication. last time I checked text compression was a security techniqe for .js files.
>>
Update - Thu, 25 Feb 2016 06:20:39 EST ID:tSOrTy4O No.35229 Ignore Report Quick Reply
>>35145
Realtime? u mean Native Applications not Web apps right?
Game protocols are alot like Chat or P2P protocols.
>>
Ernest Sellerstone - Thu, 25 Feb 2016 09:54:47 EST ID:5q2tULje No.35230 Ignore Report Quick Reply
The point of the whole topic and certainly the video is exactly an argument against security through obscurity.
In any client/service architecture there is little point in obfuscation of network protocol (It's not encryption as long as any key would be somewhere in the clients memory)

Trying to control what the client can submit makes little sense from a rigorous security standpoint. The battle must be fought at backend. For the purposes of an online game that's basically what information the server sends to the client about the game world.
If for example the server tells the client "here is the avatar", "enemies x, y, z are at location a, b, c", "at h,j,k,l are obstacles", etc.. it's trivial to have an algorithm control the avatar.
On the other hand as an example of a plausible (but impractical) solution for this issue would be:
"Here is a list of 3324 polygons and corresponding velocity vectors for the vertices and the corresponding second order velocity vectors." "Along is a list of texture coordinates". In short running the game engine on the server and just having the client feed compressed data to the gpu and sound card.
>>
Ernest Sellerstone - Thu, 25 Feb 2016 10:03:37 EST ID:5q2tULje No.35231 Ignore Report Quick Reply
On second thought: That much broadband download speed is available for home users today that this approach might not even be as impractical as it seems.
You couldn't try to send what normally is sent trough the pcie ports over the network but you could send higher order representations like bezier surfaces or other order primitives.


Creatin my own Achievement-Cards by Geronimo Stalker - Sat, 20 Feb 2016 13:36:32 EST ID:noWPaPDx No.35192 Ignore Report Reply Quick Reply
File: 1455993392250.jpg -(1244422B / 1.19MB, 3264x2448) Thumbnail displayed, click image for full size. 1244422
I'd like to create my own Achievement-Cards.

Do you know a simple editor for that?

Does not have to be compatible with Steam
(at least not now).

Just a simple Tool for the graphical design and the proportions.
1 posts and 1 images omitted. Click Reply to view.
>>
Nell Fandlekeck - Sun, 21 Feb 2016 05:05:30 EST ID:LlcNWnsJ No.35197 Ignore Report Quick Reply
>>35193
> download gimp
> install gimp
> open gimp
> wonder what to do
> ui is so confusing
> have a goal
> struggle with it
> give up frequently but come back again
> after a while, you get used to it
> finish one card, could've done it faster in MS Paint
> do another card, it's a little better
> keep going, make more
> gimp-fu increases
> you can now walk on your own
>>
Shitting Fannerson - Sun, 21 Feb 2016 15:36:23 EST ID:S0dGIlDe No.35203 Ignore Report Quick Reply
>>35197

Use paint.net instead of GIMP, much easier.
>>
ttacocatt - Sun, 21 Feb 2016 21:00:11 EST ID:rNP2RV/b No.35207 Ignore Report Quick Reply
>>35203
^^^
Paint.NET is great. Especially with plugins.
>>
Hugh Habblewere - Wed, 24 Feb 2016 11:56:33 EST ID:5q2tULje No.35218 Ignore Report Quick Reply
real programmers use opencv and/or imagemagick
>>
Jenny Millerstone - Wed, 24 Feb 2016 15:37:32 EST ID:RAJHTRQn No.35221 Ignore Report Quick Reply
>>35192
photoshop cs2 is completely free. it's on adobe's website


can someone explain big O to me? by Barnaby Hurryville - Sun, 21 Feb 2016 15:10:20 EST ID:lkWDsJHp No.35202 Ignore Report Reply Quick Reply
File: 1456085420637.png -(675671B / 659.83KB, 1106x1012) Thumbnail displayed, click image for full size. 675671
not exactly programming related, more like algorithm analysis. i'm working on a project now and came across this problem

" Consider n = 10, 20, 40, 80, 160.
F(10) = 10
F(n) = F(n/2) + 2
Compute several values of F(n). Find a constant c and prove by induction that

F(n) <= C * n, n >= 20 "

So I'm attempting to prove that F(n) = O(n) here but I honestly have no clue how to go about doing this. From what I understand I need to find a value for C that fits the final equation, and plug in and then prove it via induction. But I'm completely lost on how to go about doing this. I've been searching around for answers for a while and the professor is no help, so this is a last ditch attempt for help.
>>
Nicholas Drasslestock - Mon, 22 Feb 2016 03:08:47 EST ID:FZqsCuoJ No.35212 Ignore Report Quick Reply
You need to show |F(n)| <= c*|G(n)| for n >= 20, for some constant c, for G(n) = n

If you solve the recurrence relation you will see that F(n) = 10+2*log_2(n/10)

Pick c = 1 and use induction to show that 10+2*log_2(n/10) <= n
>>
Eliza Feggleham - Mon, 22 Feb 2016 10:36:56 EST ID:lkWDsJHp No.35213 Ignore Report Quick Reply
>>35212

thank you, but can you explain how you got F(n) = 10+2*log_2(n/10) ?
>>
Eliza Feggleham - Mon, 22 Feb 2016 11:03:34 EST ID:lkWDsJHp No.35214 Ignore Report Quick Reply
>>35212
>>35213

nevermind, i got it now. thank you so much!


Linked List help by Hedda Fublingford - Fri, 19 Feb 2016 06:12:31 EST ID:wwpCxxSS No.35187 Ignore Report Reply Quick Reply
File: 1455880351093.gif -(2516414B / 2.40MB, 250x188) Thumbnail displayed, click image for full size. 2516414
I keep getting seg faults in my programming lab and I need some help debugging since i've never done it before. I think the error is coming from here


void LinkedList::addFront(int value){
Node* frontnode=new Node();
frontnode->setValue(value);
frontnode->setNext(m_front->getNext());
m_front->setNext(frontnode);
m_size++;
}

or


LinkedList::~LinkedList(){
Comment too long. Click here to view the full text.
>>
Edwin Grimshaw - Fri, 19 Feb 2016 16:13:35 EST ID:X7dbwejq No.35189 Ignore Report Quick Reply
>>35187
You might want to use pre tags when posting to keep indentation, like "(pre)stuff(/pre)" except with square brackets instead of normal parenthesis.

void LinkedList::addFront(int value){
Node* frontnode=new Node();
frontnode->setValue(value);
frontnode->setNext(m_front->getNext());
m_front->setNext(frontnode);
m_size++;
}


Are m_front and m_size global? Normally those would be members of LinkedList. Is m_front a Node? If it is should m_front->setNext(frontnode) actually be m_front = frontnode?
Comment too long. Click here to view the full text.
>>
David Dollybury - Sat, 20 Feb 2016 21:22:12 EST ID:kilE0vrZ No.35196 Ignore Report Quick Reply
m_front=nullptr;
delete m_front;


You can't deallocate a pointer by simply assigning
nullptr
to it. Besides, calling
delete
on a null-pointer does nothing; you could, however, set your pointer equal to
nullptr
after you freed the memory from the address it points to it using
delete
- which, by the way, is considered good practice!


Examples of 64-bit Errors by Betsy Tootway - Fri, 05 Feb 2016 13:09:35 EST ID:2j/vWnYO No.35107 Ignore Report Reply Quick Reply
File: 1454695775724.png -(151551B / 148.00KB, 580x558) Thumbnail displayed, click image for full size. 151551
Sometimes pointers are stored in integer types. Usually the int type is used for this purpose. This is perhaps one of the most frequent 64-bit errors.
8 posts omitted. Click Reply to view.
>>
Betsy Grandwater - Fri, 19 Feb 2016 12:12:16 EST ID:5q2tULje No.35188 Ignore Report Quick Reply
>>35186
The point was that some times you'd want to do weird things like getting a pointer to a memory location that is based on some other value, which you don't want to store somewhere else before using it. Of course you would use a pointer type wherever possible and I can't think of any downsides to using pointer types for that arithmetic in the first place.

Storing a string in a float is different because they are always interpreted the same way. If you do increment memory locations by an integer and yeah you could run into that error.
And the other snark remark was about why bother with anything but python when speed isn't an issue and why bother with anything but std::vector when it is. Debugging algorithms already sucks so why not, not do that thing that only plain old C developers do.
>>
Ian Bablinghall - Fri, 19 Feb 2016 17:41:47 EST ID:jKDl6Kfi No.35190 Ignore Report Quick Reply
>>35107
The industry standard term for this is "trying to cram 20 pounds of shit into a 10 pound bag".

>>35186
>Why store a pointer in an integer?
In C/C++ anyway, you only get arithmetic with pointer types - so if you need to do bit operations, you need to cast it to a non-pointer type first. And yes, sometimes you do need to do this if you want your code to be sane.

You also might talk to hardware that only accepts 32-bit pointer values for various things (like DMA or control registers). The device's input doesn't have pointer type precision - it's a fixed size for the device in question. Using a pointer type to define it in your struct would lead to Bad Things if someone used the structure definition outside a 32-bit compilation. You usually use a uint32_t or equivalent type instead to define it.
>>
Doris Pedgechet - Fri, 19 Feb 2016 23:55:11 EST ID:Dt0fmYlS No.35191 Ignore Report Quick Reply
>>35190
>In C/C++ anyway, you only get arithmetic with pointer types - so if you need to do bit operations, you need to cast it to a non-pointer type first. And yes, sometimes you do need to do this if you want your code to be sane.

Can you give a more concrete example of this? It just seems like a recipe for nasty shit happening...

>You also might talk to hardware that only accepts 32-bit pointer values for various things (like DMA or control registers). The device's input doesn't have pointer type precision - it's a fixed size for the device in question. Using a pointer type to define it in your struct would lead to Bad Things if someone used the structure definition outside a 32-bit compilation. You usually use a uint32_t or equivalent type instead to define it.

Sure, but in that case why would you be converting to/from C++'s native pointer types?
>>
Nathaniel Chellyfield - Sat, 20 Feb 2016 14:50:17 EST ID:jKDl6Kfi No.35194 Ignore Report Quick Reply
>>35191
>Can you give a more concrete example of this? It just seems like a recipe for nasty shit happening...

Well, don't get me wrong - it can/does lead to nasty shit - but sometimes it's the only sane way to do things.

Pointer alignment concerns are the main reason I see it.

Say I've got the following buffer that I want to write to my device:
Buffer: 0x60000EAC
Length: 0x421

Now, say device does DMA, but because the hardware designers wanted to make their own lives easier they require buffers to be aligned to some physical address. Let's say it needs to start on a physical page boundary, because that's a common one. In any normal desktop architecture, that means that unless my buffer starts at a 4k offset (0x1000) in virtual memory it won't be on the start of the page and I won't be able to transfer it.

How do I ensure my buffer fits on that boundary? Well, I have to double buffer. I can't just allocate 0x420 though - I could get back a pointer like this:
0xF0000004 (valid through 0xF0000424)
Comment too long. Click here to view the full text.
>>
Eugene Cluffinghood - Sat, 20 Feb 2016 20:29:10 EST ID:Dt0fmYlS No.35195 Ignore Report Quick Reply
>>35194

It's still undefined behaviour, though. Ugh.

I'm pretty sure I've seen (proprietary) code that doesn't cast to an integer that handles alignment like that. Can't remember off the top of my head how it works, though. Might be thinking of a different case.


Shortening the number of decimal places.(Java) by Betsy Cusslepudge - Tue, 09 Feb 2016 18:34:42 EST ID:QvshBMKJ No.35131 Ignore Report Reply Quick Reply
File: 1455060882311.jpg -(162024B / 158.23KB, 1920x1080) Thumbnail displayed, click image for full size. 162024
Hey guys, just started studying some java. I have a simple calculation in the println.

System.out.println("Profit margin: " + ((sellingPrice - dealerCost)/sellingPrice)*100+"%");

I would like to minimize the amount of decimal places which come out in the console. They can be rounded or just truncated doesnt really matter. Any ideas?
1 posts omitted. Click Reply to view.
>>
George Bummlefield - Tue, 09 Feb 2016 22:18:30 EST ID:FZqsCuoJ No.35133 Ignore Report Quick Reply
Yes, there is a round method in a math package, and that is probably your best bet
System.out.println("Profit margin: " + Math.round(((sellingPrice - dealerCost)/sellingPrice)*100) + "%");

Some alternatives would be to cast your number to an int, or use System.out.printf
>>
Oliver Billingshaw - Wed, 10 Feb 2016 00:36:03 EST ID:9GNL65xE No.35134 Ignore Report Quick Reply
>>35132
>>35133

Thanks guys! I ended up using this exact solution.

I seem to be having it round to the nearest whole number, which in this application works.
>>
Frederick Sommermon - Mon, 15 Feb 2016 08:21:32 EST ID:Isbt87Vd No.35164 Ignore Report Quick Reply
u shoulnt be makin tools that calc ur illicit profs for fucks sake change the var names
>>
Emma Snodbury - Mon, 15 Feb 2016 12:29:14 EST ID:k/O2ZEFt No.35168 Ignore Report Quick Reply
>>35164
It's an intro course, so we work with the materials presented in class.
>>
Edwin Pickworth - Mon, 15 Feb 2016 16:33:22 EST ID:tSOrTy4O No.35170 Ignore Report Quick Reply
>>35168
Ahh ur prof is a drug dealer lol jk u are working with biz applications then. U should use math the fun way in Java Networking and Games. Biz Functions/Algorithms boaring unless it's encrtypion stuff


Demo website with users and sessions by Albert Dugglewill - Sat, 06 Feb 2016 17:48:36 EST ID:2ApJWF0u No.35115 Ignore Report Reply Quick Reply
File: 1454798916623.jpg -(34324B / 33.52KB, 510x603) Thumbnail displayed, click image for full size. 34324
I searching for a demo website with working sessions and users authentication with Facebook and user management.

Something I can just get off github and upload to my server and have it running in no time.

Do any of you know of a good example of such a thing?

Pic unrelated
>>
Albert Dugglewill - Sat, 06 Feb 2016 17:49:51 EST ID:2ApJWF0u No.35116 Ignore Report Quick Reply
Language doesn't matter so much BTW. I only need to modify it slightly.
>>
Basil Homblelork - Sun, 07 Feb 2016 08:15:05 EST ID:9hqrgAcE No.35117 Ignore Report Quick Reply
>>35115
If you're in .NET land, look for smartstore.net

it's openly accessible on github, and features onsite and various other login types including Facebook, along with an easy-to-navigate MSSQL database setup..

Additional interesting parts are realtime currency calculation and the PayPal API.

Apart from a webshop system, it also features CMS, product review handling, blog system and a forum system

Great study if you know C#, ASP.NET and Razor syntax
>>
Shaman !MbOrDArdlI - Sat, 13 Feb 2016 07:05:19 EST ID:99UuZHaY No.35151 Ignore Report Quick Reply
1455365119679.gif -(3656016B / 3.49MB, 200x200) Thumbnail displayed, click image for full size.
>>35117
>C#, ASP.NET and Razor syntax

This is my jam.


3 letters for you man: M, V and fucking C

Nice tranny too
>>
Shaman !MbOrDArdlI - Sat, 13 Feb 2016 07:06:26 EST ID:99UuZHaY No.35152 Ignore Report Quick Reply
Make a new project and it has these things in it by defualt nb for d p


Inheritance by Henry Drunkinwurk - Thu, 04 Feb 2016 13:42:25 EST ID:tWqw3xwf No.35099 Ignore Report Reply Quick Reply
File: 1454611345676.jpg -(7498B / 7.32KB, 215x235) Thumbnail displayed, click image for full size. 7498
CS Major here. We're learning inheritance in Java and I'm stumped.

A square is a rectangle? A rectangle is a square? Rain is a sub class of snow? I'm so confused. Can someone please help me understand? And this 'super' 'abstract' and 'extends' keywords for classes?
10 posts and 1 images omitted. Click Reply to view.
>>
Esther Shittingstone - Thu, 11 Feb 2016 10:30:38 EST ID:MFO2hIr9 No.35137 Ignore Report Quick Reply
>>35136
Really? In what way is educating yourself (or a recommendation to do so) an example of actions performed naively and ritually? I recommended those papers because I've read them (multiple times) and they impressed me with their insight, and I want to share the good stuff rather than leave people to blindly worship domain-driven design. If you want to see a cargo cult, go look at enterprise frameworks and business object models.
>>
Reuben Hurringcocke - Thu, 11 Feb 2016 13:53:22 EST ID:5q2tULje No.35139 Ignore Report Quick Reply
>>35137
For instance
Complexity of algorithms that's science. (But not necessary computer science, you might be inclined to simply call it math)
Design Patterns no matter what programming paradigm they belong to are Engineering. Nothing wrong with calling it Software Engineering why don't do that?

But there is plenty of "science" that isn't really science, much of economics and psychology isn't really science, but in the technical field computer science just it the one that's filled with science-ey shit that isn't really science.

Watch some Richard Feynman...
>>
Esther Shittingstone - Thu, 11 Feb 2016 15:47:19 EST ID:MFO2hIr9 No.35141 Ignore Report Quick Reply
>>35139
How do you get from distinguishing computer science vs software engineering to calling papers about subtyping an example of cargo cult mentality?
>>
Shaman !MbOrDArdlI - Fri, 12 Feb 2016 00:50:53 EST ID:99UuZHaY No.35147 Ignore Report Quick Reply
>>35137
>If you want to see a cargo cult, go look at enterprise frameworks and business object models.

Haha it's true, I started with a small .net shop that's all about this out of college and now a year latter I'm realizing the emperor has no cloths. I'm not going to bump with this non sequitur though
>>
Ernest Hussledotch - Fri, 12 Feb 2016 11:57:30 EST ID:5q2tULje No.35148 Ignore Report Quick Reply
>>35141
I mean comparing them to the theory of relativity. I just don't like that it's called science when it's clearly a solution to an engineering problem. Good engineering still isn't science.


independent consultancy in IT , is it a bad idea? by Henry Bunnerway - Thu, 04 Feb 2016 12:04:06 EST ID:L84TsV52 No.35098 Ignore Report Reply Quick Reply
File: 1454605446338.jpg -(625189B / 610.54KB, 1920x1200) Thumbnail displayed, click image for full size. 625189
yoy /prog/ This is probably not programming related but nevertheless need some opinion of some form.
Being unemployed sucks. so a friend of mine asked me to join with and start an IT consulting firm. My friend is an experienced windows admin (who did this sort of thing before ) . i don't know much about windows but I can do a decent bit of linux. Like installing, configuring apache, nginx , nagios. and also i can script in bash, perl + python for programming. My friend knows a bit of webdesigning and currently does webdesigning as a part of the job. The current plan is to combine our skills and start some small consultancy /services.

My dilemma is this: I am socially awkward and I do not have any entrepreneur skills. Plus most of my friend's clients (i was introduced to a few of them) are small buisness owners. (like restaurants, law firms, clinics etc) and i haven't seen any small to medium buisnesses using linux for any of their applications.

is it really worth it to start a linux based consultancy? I mean if we do start who would be my clients? I do not know muhch about any linux based consultancy.
1 posts and 1 images omitted. Click Reply to view.
>>
Henry Bunnerway - Thu, 04 Feb 2016 14:14:57 EST ID:L84TsV52 No.35102 Ignore Report Quick Reply
>>35100
$15 vhost at rackspace? did i miss something, the last time i check for a cloud at rackspace, there was a $50 for service level . (at the minimum)

Also is there any advantage for rackspace, i was thinking more along the lines of linode or digital ocean.

oh yeah, and thanks for the tip. i will add it to my list.
>>
Cyril Hagglegold - Thu, 04 Feb 2016 22:07:59 EST ID:Ew1xe7Or No.35104 Ignore Report Quick Reply
>>35102
>$15 vhost at rackspace? did i miss something, the last time i check for a cloud at rackspace, there was a $50 for service level .

When did you last check? I've had my $15 box for years.

>Also is there any advantage for rackspace

I've just found them to be very reliable. I've only been on RS and AWS, I found AWS to be a bit weird in terms of its web interface.
>>
Hannah Nirryshit - Fri, 05 Feb 2016 00:18:43 EST ID:L84TsV52 No.35105 Ignore Report Quick Reply
>>35104
>When did you last check? I've had my $15 box for years.

https://www.rackspace.com/calculator
>>
Cyril Hagglegold - Fri, 05 Feb 2016 12:52:08 EST ID:Ew1xe7Or No.35106 Ignore Report Quick Reply
1454694728944.jpg -(51376B / 50.17KB, 780x633) Thumbnail displayed, click image for full size.
>>35105
I haven't used that interface before, I just go by this

<--- 0.022*24*30 = 15.84

By the way, freebsd under rs cloud sucks bad.
>>
Betsy Crattingpatch - Tue, 09 Feb 2016 00:40:00 EST ID:GmVstbDH No.35123 Ignore Report Quick Reply
Learn Alpine Linux as it's now used for Docker
Learn Docker
Apply for the zillions of "ops" jobs around looking for ppl who know docker

Being freelance consultants sucks it's easier to just work remotely doing web design/docker F/T unless you already have a network of people that will hire you


What exactly isa mobil app? by Edwin Blammershit - Tue, 02 Feb 2016 06:27:47 EST ID:5MmdKA90 No.35095 Ignore Report Reply Quick Reply
File: 1454412467630.jpg -(107709B / 105.18KB, 1210x726) Thumbnail displayed, click image for full size. 107709
Stupid question, right? Well, maybe not.

I only recently got a proper smartphone. My previous one was really old had and difficulties running a lot of apps. So I've been just getting around using them lately.

One of them is this really dingy app made by the alumni organization of my university. It's used to replace a card they once gave out which you could use to claim discounts in a couple of places. It also serves as a kind of an oldschool web portal to a couple of relevant websites.

This got me thinking that what exactly is a mobile app? Facebook is a website. But also an app. Same goes for Youtube, Twitter, Instagram etc. What are these things, how do they work, what does one use to make them?

The reason I am curious is that I have an idea I could perhaps pursue. I'm a member of a student organization (continuing my studies at master's level) and we have a problem. A communication problem. We share the info on our events through Facebook, Twitter and oldschool mailing lists. Just like every other student organization. And the bigger organisation they are part of. And the university in general And...and you get the idea. The info gets drowned into other information.

So I as someone who studied the basics of comp sci and programming I thought maybe I could whip up some app which would basicaly alert people about these events. If you're interested in our events you could download it. It would contain a list of upcoming events and alert you a day before the event. It doesn't have to be anything fancy. Just something that would help us with our communication problem.

There's all sorts of app builders but I'd like to understand the process behind all of it before I try to do anything.
>>
Eugene Bardham - Tue, 02 Feb 2016 10:25:30 EST ID:XvyyLWhc No.35096 Ignore Report Quick Reply
A phone app is just a locally installed program. When a company that shouldn't have an app tells you "Hey! Download our app!", the interface is often just a web view to a website but because it's an app they can push ads into your phone notifications and do all sorts of other things you probably don't want.


Word Length and Frequency Program (C++) by George Tillingman - Sun, 31 Jan 2016 12:55:36 EST ID:sEEREUKo No.35088 Ignore Report Reply Quick Reply
File: 1454262936778.jpg -(131946B / 128.85KB, 736x1264) Thumbnail displayed, click image for full size. 131946
Hey y'all, ive been writing this program for a while and im experiencing some problems, mainly it doesnt seem to accurately measure the word length.
if anyone has any feedback on this code, it would be greatly appreciated.

http://pastebin.com/ak2U1N7b
>>
George Tillingman - Sun, 31 Jan 2016 12:56:39 EST ID:sEEREUKo No.35089 Ignore Report Quick Reply
i think i should explain some more. This could either read files from DOS redirection or from the keyboard. nobump
>>
Edward Chombleford - Sun, 31 Jan 2016 13:51:16 EST ID:FZqsCuoJ No.35090 Ignore Report Quick Reply
>>35088
your while loop is reading in an extra character every time it loops.
Just compare to ch instead.
>>
Fanny Dartstone - Sun, 31 Jan 2016 23:04:49 EST ID:sEEREUKo No.35091 Ignore Report Quick Reply
update: code now works completely fine except it displays the table twice for some reason.
http://pastebin.com/4kjjgfMr
>>
Simon Shakeforth - Mon, 01 Feb 2016 09:05:14 EST ID:5q2tULje No.35094 Ignore Report Quick Reply
String manipulation with C++, there should be some law against that.
I feel for you OP.

A general tip for these school assignments don't use keyboard input unless you absolutely have to, either use files, standard input or command line arguments.
You make less errors and you get brownie points because it looks like you know what you are doing.


<<Last Pages Next>>
0 1 2 3 4 5 6 7 8 9 10 11
Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.