000golabi's blog

By 000golabi, 11 years ago, In English

hi !

it is a plugin for c++ programmers ! generates source .cpp files for codeforces problems with test cases !

added in version 2 : you can add your own code template (as requested !)

i just tested with visual studio 2012 ,and visual studio 2013 preview i don't know if it works with 2010 or not !

download 'codeforces vs plugin 2.zip' from my skydrive public folder :

https://skydrive.live.com/?cid=04987FA06FF8DD8B&id=4987FA06FF8DD8B%21105

copy 'codeforces_vs_addin.AddIn' and 'codeforces_vs_addin.dll' to :

C:\Users\CURRENT_USER\Documents\Visual Studio 2012\Addins => for visual studio 2012

C:\Users\CURRENT_USER\Documents\Visual Studio 2012\Addins => for visual studio 2013

(CURRENT_USER == your windows account) (note : if the 'Addins' folder dos not exits , create it yourself !) and done !

codeforces plugin is accessable from => options->codeforces_vs_addin

i included photographic tutorial in 'codeforces vs plugin 2.zip'

source : https://github.com/keramer/codeforces-visual-studio-plugin have fun !

edit 2.1: version 2.01 from dear mitstudent ( fix some problems for some users ) :)

http://www.putlocker.com/file/75544024710505A3

edit 3: version 3.0 , download codeforces addin 3.zip from https://skydrive.live.com/?cid=04987FA06FF8DD8B&id=4987FA06FF8DD8B!105 i used #define ONLINE_JUDGE instead of testing=false variable . and fixed code template problem for visual studio 2013 ( works for me now ! )

  • Vote: I like it
  • +48
  • Vote: I do not like it

| Write comment?
»
11 years ago, # |
  Vote: I like it +13 Vote: I do not like it

new version is available :

download 'codeforces vs plugin 2.zip' from https://skydrive.live.com/?cid=04987FA06FF8DD8B&id=4987FA06FF8DD8B%21105

now you can add your own code template !

have fun !

  • »
    »
    11 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    i can't find the code template option.

    • »
      »
      »
      11 years ago, # ^ |
      Rev. 3   Vote: I like it 0 Vote: I do not like it

      1- are you sure you downloaded the version 2 of the plugin ?

      2-the photographic tutorial is outdated( version 1 ) . if you install the plugin there should be two green buttons : '**change your code template**' and 'restore default template!' if you click on the first button a blank text file would be opened by your default text editor ( notepad ) , edit this file and write your own code template :)

»
11 years ago, # |
  Vote: I like it 0 Vote: I do not like it

reminder : as you already know visual studio express editions do not support any kind of extension or plugins . but if you want to give it a shot without spending money $$$ . you can download visual studio 2013 preview ultimate ( its free and you can use it for 138 days ! )

»
11 years ago, # |
  Vote: I like it +1 Vote: I do not like it

If anyone could not get this to work like myself, I had used the source provided on github, complied it and applied some tweaks (added time reference for example). Here it is. The source is included if anyone would like to add tweaks of his own. I hope 000golabi does not mind any of this!

  • »
    »
    11 years ago, # ^ |
    Rev. 3   Vote: I like it 0 Vote: I do not like it

    thanks mitstudent :)

    i'm actually kind of busy these days and don't have the time .

    so i really appreciate any help .

    this plugin is open source and free (for installation and reuse and change and ... )

  • »
    »
    11 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    One Question, but how configure VS to run project with many main definitions of different files

»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

I modified this plugin create a C# version for anyone who would like to use it: http://codeforces.net/blog/entry/18913

»
5 years ago, # |
  Vote: I like it +3 Vote: I do not like it

How install it in Linux?

  • »
    »
    5 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    This is Visual Studio, not Visual Studio Code. If you are running Visual Studio through Wine, then you should be able to install it the same way.